skill: kill prints perror
A patch from Debian. Bug-Debian: http://bugs.debian.org/468363 Backported-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
committed by
Craig Small
parent
15b853c02b
commit
db4751c216
@@ -316,6 +316,7 @@ no_more_args:
|
||||
// The standard says we return non-zero if an error occurs. Thus if
|
||||
// killing two processes gives 0 for one and EPERM for the other,
|
||||
// we are required to return both zero and non-zero. Quantum kill???
|
||||
perror("kill");
|
||||
exitvalue = 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user