mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-15 02:56:51 +07:00
errors: refer to systemctl status when useful
This commit is contained in:
parent
f1a1cd6497
commit
da8f9f8cff
@ -1413,7 +1413,7 @@ static int transaction_add_job_and_dependencies(
|
||||
if (type != JOB_STOP && unit->meta.load_state == UNIT_ERROR) {
|
||||
dbus_set_error(e, BUS_ERROR_LOAD_FAILED,
|
||||
"Unit %s failed to load: %s. "
|
||||
"You might find more information in the system logs.",
|
||||
"See system logs and 'systemctl status' for details.",
|
||||
unit->meta.id,
|
||||
strerror(-unit->meta.load_error));
|
||||
return -EINVAL;
|
||||
|
@ -1162,7 +1162,7 @@ static int wait_for_jobs(DBusConnection *bus, Set *s) {
|
||||
;
|
||||
|
||||
if (!arg_quiet && d.failed)
|
||||
log_error("Job failed, see system logs for details.");
|
||||
log_error("Job failed. See system logs and 'systemctl status' for details.");
|
||||
|
||||
r = d.failed ? -EIO : 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user