fixed rc conflict with /etc/rc.d/functions; reported by taxcollector
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 22 May 2004 00:39:18 +0000 (00:39 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sat, 22 May 2004 00:39:18 +0000 (00:39 +0000)
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

util-vserver/sysv/vprocunhide

index 304a16c..0d38193 100755 (executable)
@@ -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()