summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kill.c2
-rw-r--r--procps/kill.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/kill.c b/kill.c
index c6dc79f..db48424 100644
--- a/kill.c
+++ b/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
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