aboutsummaryrefslogtreecommitdiff
path: root/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'kill.c')
-rw-r--r--kill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kill.c b/kill.c
index db4842457..765a3f683 100644
--- a/kill.c
+++ b/kill.c
@@ -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