projects
/
grml-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove cpufreq-detect.sh.
[grml-scripts.git]
/
usr_sbin
/
grml-chroot
diff --git
a/usr_sbin/grml-chroot
b/usr_sbin/grml-chroot
index
a53412c
..
b3d1184
100755
(executable)
--- 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_"
mountit "/dev" "dev" "--bind"
if (( $# < 1 )); then
chroot "$DEST_"
+ RC=$?
else
chroot "$DEST_" "$@"
else
chroot "$DEST_" "$@"
+ RC=$?
fi
umount_all
fi
umount_all
+exit $RC