summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-26 22:40:02 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-26 22:40:02 +0200
commitda8f9f8cff32029c74e9e566435079b2c5db0a5e (patch)
treedc9734cf1f5fb2004733f36858ac39da5d2891f2
parentf1a1cd6497a970a8744b6d71cf5355fa9f75669c (diff)
errors: refer to systemctl status when useful
-rw-r--r--src/manager.c2
-rw-r--r--src/systemctl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/manager.c b/src/manager.c
index e90757eacd..ae2960236e 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -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;
diff --git a/src/systemctl.c b/src/systemctl.c
index a4b83afcf7..9316ad073a 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -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;