diff --git a/src/vfs/extfs/helpers/iso9660.in b/src/vfs/extfs/helpers/iso9660.in index 76273522e..f9c6e50ef 100644 --- a/src/vfs/extfs/helpers/iso9660.in +++ b/src/vfs/extfs/helpers/iso9660.in @@ -222,8 +222,8 @@ case "$cmd" in ;; copyout) xorriso_copyout "$@" || { - test_iso "$@"; - mcisofs_copyout "$@"; + test_iso "$@" || exit 1 + mcisofs_copyout "$@" || exit 1 } exit 0 ;;