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:
parent
15b853c02b
commit
db4751c216
1
skill.c
1
skill.c
@ -316,6 +316,7 @@ no_more_args:
|
|||||||
// The standard says we return non-zero if an error occurs. Thus if
|
// 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,
|
// killing two processes gives 0 for one and EPERM for the other,
|
||||||
// we are required to return both zero and non-zero. Quantum kill???
|
// we are required to return both zero and non-zero. Quantum kill???
|
||||||
|
perror("kill");
|
||||||
exitvalue = 1;
|
exitvalue = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user