1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-18 10:04:04 +03:00

systemctl: drop unnecessary else

Follow-up for 8a826a979aa51703ec45dbecc34691265b4d04e0
This commit is contained in:
Mike Yuan 2023-09-05 12:55:45 +08:00
parent 7b5ff4391c
commit 11da61658f
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -168,8 +168,9 @@ fail:
log_debug_errno(r, "Failed to %s %s, ignoring: %s", job_type, name, bus_error_message(error, r));
return 0;
} else
log_error_errno(r, "Failed to %s %s: %s", job_type, name, bus_error_message(error, r));
}
log_error_errno(r, "Failed to %s %s: %s", job_type, name, bus_error_message(error, r));
if (!sd_bus_error_has_names(error, BUS_ERROR_NO_SUCH_UNIT,
BUS_ERROR_UNIT_MASKED,