]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
kill: fix bug in --all semantic
authorKarel Zak <kzak@redhat.com>
Mon, 7 Apr 2014 09:29:09 +0000 (11:29 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 7 Apr 2014 09:29:09 +0000 (11:29 +0200)
Introduces by 2ab6683f59cd3371b1c3ac8b5c248d5104ed4d41.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/kill.c

index 37f4c6e344334adf103ee1eb85a30c695923da37..d461b36a664aba4704f77df1be8b2f58ae5a3c8b 100644 (file)
@@ -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);