From: Enrico Scholz Date: Sat, 22 May 2004 00:39:18 +0000 (+0000) Subject: fixed rc conflict with /etc/rc.d/functions; reported by taxcollector X-Git-Tag: VERSION_0_10~12 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a91d74835abb4e58a3366cabb12d755ffa6607f;p=util-vserver.git fixed rc conflict with /etc/rc.d/functions; reported by taxcollector in https://savannah.nongnu.org/bugs/?func=detailitem&item_id=9052 git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1573 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/sysv/vprocunhide b/util-vserver/sysv/vprocunhide index 304a16c..0d38193 100755 --- a/util-vserver/sysv/vprocunhide +++ b/util-vserver/sysv/vprocunhide @@ -28,15 +28,15 @@ function start() { echo -n $"Fixing /proc entries visibility..." $_VPROCUNHIDE - rc=$? - case "$rc" in + retval=$? + case "$retval" in 0) success;; - 2) passed; rc=0;; + 2) passed; retval=0;; *) failure; esac echo - test "$rc" -ne 0 || touch "$lockfile" - return $rc + test "$retval" -ne 0 || touch "$lockfile" + return $retval } function stop()