]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsns: remove unwanted comment
authorKarel Zak <kzak@redhat.com>
Tue, 1 Dec 2015 10:45:11 +0000 (11:45 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 1 Dec 2015 10:45:11 +0000 (11:45 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lsns.c

index 96baa6cfa82ef1dd5cfb20205452d80accf5b964..df3b7def8b9d5df495bc8a329f7f5b453c6cdc03 100644 (file)
@@ -686,12 +686,11 @@ int main(int argc, char *argv[])
                }
        }
 
-       /* no filter, enable all *
        if (!ls.fltr_ntypes) {
                size_t i;
                for (i = 0; i < ARRAY_SIZE(ns_names); i++)
                        ls.fltr_types[i] = 1;
-       }*/
+       }
 
        if (optind < argc) {
                if (ls.fltr_pid)
@@ -734,7 +733,7 @@ int main(int argc, char *argv[])
                        struct lsns_namespace *ns = get_namespace(&ls, ls.fltr_ns);
 
                        if (!ns)
-                               err(EXIT_FAILURE, _("not found namespace: %ju"), (uintmax_t) ls.fltr_ns);
+                               errx(EXIT_FAILURE, _("not found namespace: %ju"), (uintmax_t) ls.fltr_ns);
                        r = show_namespace_processes(&ls, ns);
                } else
                        r = show_namespaces(&ls);