Mark a warning as such. Without this, it isn't obvious whether

killall stopped after failing to kill one process or whether it kept
going.
This commit is contained in:
Dima Dorfman 2002-05-20 07:17:22 +00:00
parent aaadd56a31
commit a79a73ab1b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96976

View File

@ -366,8 +366,8 @@ main(int ac, char **av)
killed++;
if (!dflag && !sflag) {
if (kill(thispid, sig) < 0 /* && errno != ESRCH */ ) {
warn("kill -%s %d", upper(sys_signame[sig]),
thispid);
warn("warning: kill -%s %d",
upper(sys_signame[sig]), thispid);
errors = 1;
}
}