diff options
-rw-r--r-- | kill.c | 2 | ||||
-rw-r--r-- | procps/kill.c | 2 |
2 files changed, 0 insertions, 4 deletions
@@ -230,8 +230,6 @@ 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 - errorMsg( "killed pid '%d'\n", *pidList); } /* Note that we don't bother to free the memory * allocated in findPidByName(). It will be freed diff --git a/procps/kill.c b/procps/kill.c index c6dc79f..db48424 100644 --- a/procps/kill.c +++ b/procps/kill.c @@ -230,8 +230,6 @@ 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 - errorMsg( "killed pid '%d'\n", *pidList); } /* Note that we don't bother to free the memory * allocated in findPidByName(). It will be freed |