chiark / gitweb /
systemctl: make sure status -a doesn't terminate too soon
authorLennart Poettering <lennart@poettering.net>
Thu, 13 Mar 2014 02:44:21 +0000 (03:44 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Mar 2014 03:17:37 +0000 (04:17 +0100)
src/systemctl/systemctl.c

index 4690ba0..9e48115 100644 (file)
@@ -4062,7 +4062,7 @@ static int show_all(
                         return log_oom();
 
                 r = show_one(verb, bus, p, show_properties, new_line, ellipsized);
-                if (r != 0)
+                if (r < 0)
                         return r;
         }