mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
Oops. Left in some debug noise.
-Erik
This commit is contained in:
parent
6a34b539db
commit
5dd853ad2a
2
kill.c
2
kill.c
@ -230,8 +230,6 @@ extern int kill_main(int argc, char **argv)
|
|||||||
for(; pidList && pidList!=0; pidList++) {
|
for(; pidList && pidList!=0; pidList++) {
|
||||||
if (kill(*pidList, sig) != 0)
|
if (kill(*pidList, sig) != 0)
|
||||||
fatalError( "Could not kill pid '%d': %s\n", *pidList, strerror(errno));
|
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
|
/* Note that we don't bother to free the memory
|
||||||
* allocated in findPidByName(). It will be freed
|
* allocated in findPidByName(). It will be freed
|
||||||
|
@ -230,8 +230,6 @@ extern int kill_main(int argc, char **argv)
|
|||||||
for(; pidList && pidList!=0; pidList++) {
|
for(; pidList && pidList!=0; pidList++) {
|
||||||
if (kill(*pidList, sig) != 0)
|
if (kill(*pidList, sig) != 0)
|
||||||
fatalError( "Could not kill pid '%d': %s\n", *pidList, strerror(errno));
|
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
|
/* Note that we don't bother to free the memory
|
||||||
* allocated in findPidByName(). It will be freed
|
* allocated in findPidByName(). It will be freed
|
||||||
|
Loading…
Reference in New Issue
Block a user