]> err.no Git - systemd/commitdiff
errors: refer to systemctl status when useful
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Oct 2010 20:40:02 +0000 (22:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Oct 2010 20:40:02 +0000 (22:40 +0200)
src/manager.c
src/systemctl.c

index e90757eacd76873a4e844cef11762463f19816aa..ae2960236ec4dac7c54f097830668987d24d0332 100644 (file)
@@ -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;
index a4b83afcf7154a6e62b38356c0123099247c9caf..9316ad073a37727cbad4cc7d3b1f3287e1c534be 100644 (file)
@@ -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;