diff options
Diffstat (limited to 'kill.c')
-rw-r--r-- | kill.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -230,6 +230,8 @@ extern int kill_main(int argc, char **argv) | |||
230 | for(; pidList && pidList!=0; pidList++) { | 230 | for(; pidList && pidList!=0; pidList++) { |
231 | if (kill(*pidList, sig) != 0) | 231 | if (kill(*pidList, sig) != 0) |
232 | fatalError( "Could not kill pid '%d': %s\n", *pidList, strerror(errno)); | 232 | fatalError( "Could not kill pid '%d': %s\n", *pidList, strerror(errno)); |
233 | else | ||
234 | printf("killed %d\n", *pidList); | ||
233 | } | 235 | } |
234 | /* Note that we don't bother to free the memory | 236 | /* Note that we don't bother to free the memory |
235 | * allocated in findPidByName(). It will be freed | 237 | * allocated in findPidByName(). It will be freed |