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:
Justin Pryzby 2008-02-28 10:59:37 -05:00 committed by Craig Small
parent 15b853c02b
commit db4751c216

View File

@ -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;
}