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:
Ronan Pigott
2023-06-21 19:56:43 +01:00
committed by Luca Boccassi
parent 21a2c735e2
commit f24590df43
2 changed files with 5 additions and 6 deletions
-2
View File
@@ -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;