mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
core/transaction: make merge_unit_ids() return non-NULL on success
This commit is contained in:
parent
366eced4c8
commit
999f165143
@ -341,6 +341,9 @@ static char* merge_unit_ids(const char* unit_log_field, char * const* pairs) {
|
||||
size += next + 1;
|
||||
}
|
||||
|
||||
if (!ans)
|
||||
return strdup("");
|
||||
|
||||
return TAKE_PTR(ans);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user