systemctl: make sure status -a doesn't terminate too soon
This commit is contained in:
parent
b0d14c69b2
commit
3df538da67
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue