summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-13 03:44:21 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-13 04:17:37 +0100
commit3df538da67091623044f00c2dbf488a194a689c6 (patch)
treec797bfc22731a297d40a237285234864a712e8a0 /src/systemctl/systemctl.c
parentb0d14c69b2907798ffde32b49b4f28a90242dbb7 (diff)
systemctl: make sure status -a doesn't terminate too soon
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 4690ba08f7..9e4811505e 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -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;
}