aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-xrc.d/init.d/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 77ee8bd1..5b98cf76 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -71,9 +71,9 @@ checkpid() {
local i
for i in $* ; do
- [ -d "/proc/$i" ] && return 0
+ [ -d "/proc/$i" ] || return 1
done
- return 1
+ return 0
}