summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpolicy-rc.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/policy-rc.d b/policy-rc.d
index bb4dcd3..bf0e993 100755
--- a/policy-rc.d
+++ b/policy-rc.d
@@ -1,6 +1,6 @@
#!/bin/sh
-# $Id: policy-rc.d,v 1.2 2006-04-22 16:03:24 jonas Exp $
+# $Id: policy-rc.d,v 1.3 2006-04-22 16:04:55 jonas Exp $
#
# Copyright © 2006 Jonas Smedegaard <dr@jones.dk>
# Description: Suppress system V scripts if invoked within a chroot.
@@ -55,7 +55,7 @@ EOF
exit 0
fi
-if [ -r /proc/1/root ]; then
+if [ ! -r /proc/1/root ]; then
if ! [ "$quiet" ]; then
echo >&2 "Chroot environment detected, suppressing sysV script."
fi