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:
parent
aaadd56a31
commit
a79a73ab1b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96976
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user