Update of /cvsroot/devil-linux/build/config/etc/init.d
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9449
Modified Files:
jail
Log Message:
we need to use the full path name
Index: jail
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/jail,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- jail 11 May 2005 01:31:12 -0000 1.30
+++ jail 11 May 2005 20:01:49 -0000 1.31
@@ -34,6 +34,10 @@
NODELETE=
fi
+if [ "$JAILDIR" == "." ]; then
+ JAILDIR=$(pwd)
+fi
+
if [ ! -z "$(grep "^NODELETE" $JAIL_DEF )" ]; then
NODELETE=1
fi
|