mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 17:52:43 +00:00
Make "killall -t p0" really works.
Old code works only if at least one process name additionly specified.
This commit is contained in:
parent
27e864e300
commit
6e1dea0642
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71309
@ -320,7 +320,8 @@ main(int ac, char **av)
|
||||
}
|
||||
if (matched == 0)
|
||||
continue;
|
||||
matched = 0;
|
||||
if (ac > 0)
|
||||
matched = 0;
|
||||
for (j = 0; j < ac; j++) {
|
||||
if (mflag) {
|
||||
if (regcomp(&rgx, av[j],
|
||||
|
Loading…
Reference in New Issue
Block a user