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
@ -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…
x
Reference in New Issue
Block a user