Skip to content
Snippets Groups Projects
Commit 0e353b42 authored by micah's avatar micah :speech_balloon:
Browse files

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
parent e94597ad
Branches
Tags
No related merge requests found
......@@ -11,6 +11,7 @@ version 0.9.4 -- unreleased
lib changes
vserver:
. init_vservers: fixed Debian bug #351083 (improper readlink syntax)
. found_vservers: escaped special grep repetition character +
version 0.9.3 -- February 1st, 2006
autotools fixes
......
......@@ -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.";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment