1
0
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:
Yu Watanabe 2023-03-18 12:17:54 +09:00
parent 366eced4c8
commit 999f165143

View File

@ -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);
}