summaryrefslogtreecommitdiffstats
path: root/main/util-vserver/busybox.patch
blob: cc471cc4eb94cc6f37fabf7c687e2b4ce68400ee (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/scripts/start-vservers	Mon Oct 26 13:58:40 2009
+++ b/scripts/start-vservers	Mon Oct 26 13:59:31 2009
@@ -131,7 +131,7 @@
     d=$__CONFDIR/${vservers[$i]}/apps/init
     f=$d/mark
     { test -n "$OPTION_MARK_ANY"; } || \
-    { test -n "$OPTION_MARK" -a -r "$f" && grep -qx "$OPTION_MARK" "$f"; } || \
+    { test -n "$OPTION_MARK" -a -r "$f" && grep -q "^${OPTION_MARK}$" "$f"; } || \
     { test -z "$OPTION_MARK" && test ! -e "$f"; } || \
     unset vservers[$i]
 done