diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-06-02 03:21:42 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-06-02 03:21:42 +0000 |
commit | 86ab8a32bd63b2f2a73bdcead8e2bb037589e175 (patch) | |
tree | 10aa90962757d07724c78e4fc9baaa27ca7b4858 /procps/kill.c | |
parent | 4062268bc7ac748e2ea2e569aa862b2b3f8a2db2 (diff) | |
download | busybox-w32-86ab8a32bd63b2f2a73bdcead8e2bb037589e175.tar.gz busybox-w32-86ab8a32bd63b2f2a73bdcead8e2bb037589e175.tar.bz2 busybox-w32-86ab8a32bd63b2f2a73bdcead8e2bb037589e175.zip |
A number of additional fixed from Pavel Roskin, note some more bugs in the
TODO list. Add Glenn to the Authors list for writing a mini ar for BusyBox,
which is now included.
-Erik
Diffstat (limited to 'procps/kill.c')
-rw-r--r-- | procps/kill.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/procps/kill.c b/procps/kill.c index 0487f6a66..1f1bee48b 100644 --- a/procps/kill.c +++ b/procps/kill.c | |||
@@ -234,6 +234,9 @@ extern int kill_main(int argc, char **argv) | |||
234 | pid_t* pidList; | 234 | pid_t* pidList; |
235 | 235 | ||
236 | pidList = findPidByName( *argv); | 236 | pidList = findPidByName( *argv); |
237 | if (!pidList) | ||
238 | errorMsg( "%s: no process killed\n", *argv); | ||
239 | |||
237 | for(; pidList && *pidList!=0; pidList++) { | 240 | for(; pidList && *pidList!=0; pidList++) { |
238 | if (*pidList==myPid) | 241 | if (*pidList==myPid) |
239 | continue; | 242 | continue; |