-Erik
This commit is contained in:
Erik Andersen 2000-04-18 00:00:52 +00:00
parent 91e581fa04
commit a6c752201e
19 changed files with 69 additions and 70 deletions

2
kill.c
View file

@ -230,6 +230,8 @@ extern int kill_main(int argc, char **argv)
for(; pidList && pidList!=0; pidList++) {
if (kill(*pidList, sig) != 0)
fatalError( "Could not kill pid '%d': %s\n", *pidList, strerror(errno));
else
printf("killed %d\n", *pidList);
}
/* Note that we don't bother to free the memory
* allocated in findPidByName(). It will be freed