diff options
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-x | rc.d/init.d/functions | 4 |
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 } |