Index: src/scripts/enter_chroot.sh |
diff --git a/src/scripts/enter_chroot.sh b/src/scripts/enter_chroot.sh |
index 101280dee811f72d11f5e9869fa9087d8d56ff12..acfa84682de4b31e586941075c0d8c640fbad4a0 100755 |
--- a/src/scripts/enter_chroot.sh |
+++ b/src/scripts/enter_chroot.sh |
@@ -10,8 +10,9 @@ |
# The path to common.sh should be relative to your script's location. |
. "$(dirname "$0")/common.sh" |
-# Script must be run outside the chroot |
+# Script must be run outside the chroot and as a regular user. |
assert_outside_chroot |
+assert_not_root_user |
# Define command line flags |
# See http://code.google.com/p/shflags/wiki/Documentation10x |