diff options
author | Eric Andersen | 2000-06-02 03:21:42 +0000 |
---|---|---|
committer | Eric Andersen | 2000-06-02 03:21:42 +0000 |
commit | 86ab8a32bd63b2f2a73bdcead8e2bb037589e175 (patch) | |
tree | 10aa90962757d07724c78e4fc9baaa27ca7b4858 /procps/kill.c | |
parent | 4062268bc7ac748e2ea2e569aa862b2b3f8a2db2 (diff) | |
download | busybox-86ab8a32bd63b2f2a73bdcead8e2bb037589e175.zip busybox-86ab8a32bd63b2f2a73bdcead8e2bb037589e175.tar.gz |
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 0487f6a..1f1bee4 100644 --- a/procps/kill.c +++ b/procps/kill.c @@ -234,6 +234,9 @@ extern int kill_main(int argc, char **argv) pid_t* pidList; pidList = findPidByName( *argv); + if (!pidList) + errorMsg( "%s: no process killed\n", *argv); + for(; pidList && *pidList!=0; pidList++) { if (*pidList==myPid) continue; |