fixed missing quoting of '~'; this may cause very slow booting when
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 10 Apr 2005 00:55:51 +0000 (00:55 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 10 Apr 2005 00:55:51 +0000 (00:55 +0000)
NIS/LDAP servers are local vservers as bash tries to expand this to a
homedir...

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2011 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vprocunhide

index 76307ba..31c17f7 100755 (executable)
@@ -71,8 +71,8 @@ while read filename; do
 
     case "$filename" in
        (\#*)   continue;;
+       (\~*)   params=( --admin --watch --hide ); filename=${filename#\~};;
        (-*)    params=( --admin         --hide ); filename=${filename#-};;
-       (~*)    params=( --admin --watch --hide ); filename=${filename#~};;
        (:*)    params=(         --watch --hide ); filename=${filename#:};;
        (!*)    params=(                 --hide ); filename=${filename#!};;
        (+*)    params=(                --!hide ); filename=${filename#+};;