Browse Source

Fixed `mod vserver` to exclude 'lost+found' directory from the list of guests

early
Alejandro Mery 17 years ago
parent
commit
12b134c9a1
  1. 3
      security/util-vserver/stone_mod_vserver.sh

3
security/util-vserver/stone_mod_vserver.sh

@ -3,6 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../util-vserver/stone_mod_vserver.sh # Filename: package/.../util-vserver/stone_mod_vserver.sh
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
@ -280,7 +281,7 @@ main() {
while [ $errno -eq 0 ]; do while [ $errno -eq 0 ]; do
servers= 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'" [ -d $CONFDIR/$server ] && servers="$servers 'vserver: $server' 'vserver_conf_manage $server'"
done done

Loading…
Cancel
Save