From: Enrico Scholz Date: Sun, 10 Apr 2005 00:55:51 +0000 (+0000) Subject: fixed missing quoting of '~'; this may cause very slow booting when X-Git-Tag: version_0_30_210~270 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e652aa637fcc02d916f01f2a31e41cc44a48ac61;p=util-vserver.git fixed missing quoting of '~'; this may cause very slow booting when 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 --- diff --git a/util-vserver/scripts/vprocunhide b/util-vserver/scripts/vprocunhide index 76307ba..31c17f7 100755 --- a/util-vserver/scripts/vprocunhide +++ b/util-vserver/scripts/vprocunhide @@ -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#+};;