From 12b134c9a1f5553dc50aaf0de730aaa7a13ae707 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 11 Feb 2008 13:02:00 -0300 Subject: [PATCH] Fixed `mod vserver` to exclude 'lost+found' directory from the list of guests --- security/util-vserver/stone_mod_vserver.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/security/util-vserver/stone_mod_vserver.sh b/security/util-vserver/stone_mod_vserver.sh index 27e5db3cc..844cbaf38 100644 --- a/security/util-vserver/stone_mod_vserver.sh +++ b/security/util-vserver/stone_mod_vserver.sh @@ -3,6 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../util-vserver/stone_mod_vserver.sh +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -280,7 +281,7 @@ main() { while [ $errno -eq 0 ]; do servers= - for server in $( ls -1 $CONFDIR); do + for server in $( ls -1 $CONFDIR | grep -v -e 'lost+found' ); do [ -d $CONFDIR/$server ] && servers="$servers 'vserver: $server' 'vserver_conf_manage $server'" done