tree-wide: simplify x ? x : y to x ?: y where applicable

This commit is contained in:
Frantisek Sumsal
2023-03-18 14:23:11 +01:00
parent 64254629f7
commit 1da3cb8141
14 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -186,8 +186,8 @@ static void log_job_error_with_service_result(const char* service, const char *r
_cleanup_free_ char *t = NULL;
t = strv_join((char**) extra_args, " ");
systemctl = strjoina("systemctl ", t ? : "<args>");
journalctl = strjoina("journalctl ", t ? : "<args>");
systemctl = strjoina("systemctl ", t ?: "<args>");
journalctl = strjoina("journalctl ", t ?: "<args>");
}
if (!isempty(result)) {