From 3df538da67091623044f00c2dbf488a194a689c6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 13 Mar 2014 03:44:21 +0100 Subject: [PATCH] systemctl: make sure status -a doesn't terminate too soon --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 4690ba08f..9e4811505 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; } -- 2.30.2