From e652aa637fcc02d916f01f2a31e41cc44a48ac61 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sun, 10 Apr 2005 00:55:51 +0000 Subject: [PATCH] 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 --- util-vserver/scripts/vprocunhide | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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#+};; -- 1.8.1.5