kill: fix bug in --all semantic
Introduces by 2ab6683f59
.
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
10ab72e7a1
commit
e0d4675789
|
@ -486,7 +486,7 @@ int main(int argc, char **argv)
|
|||
|
||||
if (!ps)
|
||||
continue;
|
||||
if (ctl.check_all)
|
||||
if (!ctl.check_all)
|
||||
proc_processes_filter_by_uid(ps, getuid());
|
||||
|
||||
proc_processes_filter_by_name(ps, ctl.arg);
|
||||
|
|
Loading…
Reference in New Issue