X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=blobdiff_plain;f=usr_sbin%2Fgrml-chroot;h=b3d118487a399f0cc277229aed2fe91ae62460a7;hp=a53412cf5acbd0916a714f535c02bd5e9940220d;hb=3b069a494fe989e75be26e5bc50efd8bb35d3109;hpb=6029e45df547bf0b96e4abe4ce7fe3887ac9387f diff --git a/usr_sbin/grml-chroot b/usr_sbin/grml-chroot index a53412c..b3d1184 100755 --- a/usr_sbin/grml-chroot +++ b/usr_sbin/grml-chroot @@ -90,8 +90,11 @@ mountit "sysfs" "sys" mountit "/dev" "dev" "--bind" if (( $# < 1 )); then chroot "$DEST_" + RC=$? else chroot "$DEST_" "$@" + RC=$? fi umount_all +exit $RC