diff options
Diffstat (limited to 'Master/tlpkg/bin/tl-update-images')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-images | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tl-update-images b/Master/tlpkg/bin/tl-update-images index 4bb081cdbd1..d602593bb94 100755 --- a/Master/tlpkg/bin/tl-update-images +++ b/Master/tlpkg/bin/tl-update-images @@ -180,9 +180,10 @@ MAKEINST () cmd="$mkisofs $common_mkisofs_options -o $iso ." echo "-- `date` with: $cmd" $cmd - if test $? -ne 0; then - echo "$0: $mkisofs failed (status $?), goodbye." >&2 - exit $? + status=$? + if test $status -ne 0; then + echo "$0: $mkisofs failed (status $status), goodbye." >&2 + exit $status fi cd $target || exit 1 |