diff options
author | Bill Nottingham <notting@redhat.com> | 2003-02-04 02:48:37 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-02-04 02:48:37 +0000 |
commit | 10d889c4be87e8b9ac8946484f563f186b27d4ce (patch) | |
tree | 9feb34605355acabe65cfe1595b254c977766fe1 /rc.d/init.d | |
parent | 6d46cedaad0acbdb6dd650f7c7d19af4b19d3bff (diff) | |
download | initscripts-10d889c4be87e8b9ac8946484f563f186b27d4ce.tar initscripts-10d889c4be87e8b9ac8946484f563f186b27d4ce.tar.gz initscripts-10d889c4be87e8b9ac8946484f563f186b27d4ce.tar.bz2 initscripts-10d889c4be87e8b9ac8946484f563f186b27d4ce.tar.xz initscripts-10d889c4be87e8b9ac8946484f563f186b27d4ce.zip |
fix checkpid for multiple pids (#83401)
Diffstat (limited to 'rc.d/init.d')
-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 } |