diff options
Diffstat (limited to 'main/util-vserver/bb-grep.patch')
-rw-r--r-- | main/util-vserver/bb-grep.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/util-vserver/bb-grep.patch b/main/util-vserver/bb-grep.patch new file mode 100644 index 0000000000..e4e2101d31 --- /dev/null +++ b/main/util-vserver/bb-grep.patch @@ -0,0 +1,11 @@ +--- ./scripts/functions.orig ++++ ./scripts/functions +@@ -542,7 +542,7 @@ + (STOPPED) ! $_VSERVER "$_ga_i" running &>/dev/null || _ga_doadd=;; + (RUNNING) $_VSERVER "$_ga_i" running &>/dev/null || _ga_doadd=;; + (ALL) ;; +- (MARK) test -s "$_ga_markfile" && grep -qx "$3" "$_ga_markfile" || _ga_doadd=;; ++ (MARK) test -s "$_ga_markfile" && grep -q "^$3$" "$_ga_markfile" || _ga_doadd=;; + (*) panic $"Unknown vserver tagging '$2'";; + esac + |