SOURCES: util-vserver-mounted.patch - fixed set -e sickness
baggins
baggins at pld-linux.org
Wed Oct 19 15:17:24 CEST 2005
Author: baggins Date: Wed Oct 19 13:17:23 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixed set -e sickness
---- Files affected:
SOURCES:
util-vserver-mounted.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/util-vserver-mounted.patch
diff -u SOURCES/util-vserver-mounted.patch:1.1 SOURCES/util-vserver-mounted.patch:1.2
--- SOURCES/util-vserver-mounted.patch:1.1 Thu Oct 13 20:19:16 2005
+++ SOURCES/util-vserver-mounted.patch Wed Oct 19 15:17:17 2005
@@ -37,8 +37,8 @@
+ local mounted
+
+ vdirl="$(readlink $ROOTDIR)/$VSERVERDIRNAME"
-+ mount | grep -q "$vdirl"
-+ mounted=$?
++ mounted=0
++ mount | grep -q "$vdirl" || mounted=$?
+
+ test -z "$1" || _renameVserverCfg $mounted
+ test -d "$VDIR" && {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/util-vserver-mounted.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list