systemd-analyze: allow --quiet for condition checks
I figure these messages are rather unnecessary, so let the user quiet them with the existing --quiet flag if desired. Makes systemd-analyze condition a little more ergonomic in scripts.
This commit is contained in:
committed by
Luca Boccassi
parent
21a2c735e2
commit
f24590df43
@@ -1206,8 +1206,6 @@ bool condition_test_list(
|
||||
|
||||
int triggered = -1;
|
||||
|
||||
assert(!!logger == !!to_string);
|
||||
|
||||
/* If the condition list is empty, then it is true */
|
||||
if (!first)
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user