Merge pull request #18651 from poettering/einval-followup
two follow-up fixes for the enum einvalification
This commit is contained in:
@@ -23,7 +23,7 @@ static int show_installation_targets_client_side(const char *name) {
|
||||
return log_error_errno(r, "Failed to get file links for %s: %m", name);
|
||||
|
||||
for (size_t i = 0; i < n_changes; i++)
|
||||
if (changes[i].type == UNIT_FILE_UNLINK)
|
||||
if (changes[i].type_or_errno == UNIT_FILE_UNLINK)
|
||||
printf(" %s\n", changes[i].path);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user