mirror of
https://github.com/systemd/systemd.git
synced 2026-08-09 17:38:42 +00:00
core/dbus-manager: be explicit that job enqueue errors are from EnqueueMarkedJobs call
Follow-up for 502d6f4bc9
This commit is contained in:
@@ -2146,10 +2146,9 @@ static int method_enqueue_marked_jobs(sd_bus_message *message, void *userdata, s
|
||||
reply, &error);
|
||||
if (ERRNO_IS_NEG_RESOURCE(r))
|
||||
return r;
|
||||
if (r < 0) {
|
||||
RET_GATHER(ret, r);
|
||||
log_warning_errno(r, "%s", bus_error_message(&error, r));
|
||||
}
|
||||
if (r < 0)
|
||||
RET_GATHER(ret, log_unit_warning_errno(u, r, "Failed to enqueue marked job: %s",
|
||||
bus_error_message(&error, r)));
|
||||
}
|
||||
|
||||
if (ret < 0)
|
||||
|
||||
Reference in New Issue
Block a user