diff options
author | Micah Anderson <micah@riseup.net> | 2006-03-15 18:05:43 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2006-03-15 18:05:43 +0000 |
commit | 0e353b42dba44211f42108c29f3f9169aecf4e54 (patch) | |
tree | 0c38921c8bf34b77dcd066bf622489ea408ad624 /lib/vserver.in | |
parent | e94597ad053204c0a056505fe3f017ff325489fd (diff) | |
download | backupninja-0e353b42dba44211f42108c29f3f9169aecf4e54.tar.gz backupninja-0e353b42dba44211f42108c29f3f9169aecf4e54.tar.bz2 |
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
Diffstat (limited to 'lib/vserver.in')
-rw-r--r-- | lib/vserver.in | 2 |
1 files changed, 1 insertions, 1 deletions
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."; |