From 86ab8a32bd63b2f2a73bdcead8e2bb037589e175 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 2 Jun 2000 03:21:42 +0000 Subject: 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 --- procps/kill.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'procps/kill.c') 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; -- cgit v1.1