From 0e353b42dba44211f42108c29f3f9169aecf4e54 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 15 Mar 2006 18:05:43 +0000 Subject: lost+found was not being removed from the list of found_vservers because the + was being interpreted by grep -E, I've escaped it so it will properly be removed --- lib/vserver.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vserver.in') diff --git a/lib/vserver.in b/lib/vserver.in index 8a585bf..8ac7b7e 100644 --- a/lib/vserver.in +++ b/lib/vserver.in @@ -63,7 +63,7 @@ init_vservers() { "vservers enabled in $conffile, but VROOTDIR ($VROOTDIR) does not exist."; return fi - found_vservers=`ls $VROOTDIR | grep -E -v "lost+found|ARCHIVES" | tr "\n" " "` + found_vservers=`ls $VROOTDIR | grep -E -v "lost\+found|ARCHIVES" | tr "\n" " "` if [ -z "$found_vservers" ]; then `if [ "$arg" = nodialog ]; then echo warning; else echo "msgBox warning"; fi` \ "vservers enabled in $conffile, but no vserver was found in $VROOTDIR."; -- cgit v1.2.3