X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=chroot-script;h=2c294653dd5a24edd4c63cb824d573265ce7d9b8;hp=95f3ef666a9884ab06fa6df6aab1be97127b7c4a;hb=ed17c9501e61f1fe58168606feaffa3abd63dba8;hpb=fcaea6e9ae5cb12e934dbc2185810c29f2218ccd diff --git a/chroot-script b/chroot-script index 95f3ef6..2c29465 100755 --- a/chroot-script +++ b/chroot-script @@ -804,7 +804,8 @@ trap signal_handler HUP INT QUIT TERM custom_scripts upgrade_system remove_apt_cache services \ remove_chrootmirror; do if stage $i ; then - $i && stage $i 'done' || exit 1 + $i || exit 1 + stage $i 'done' fi done # always execute the finalize stage: