chiark / gitweb /
systemctl: suggest -xe not -xn
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 9 Oct 2014 00:22:51 +0000 (20:22 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 9 Oct 2014 00:23:09 +0000 (20:23 -0400)
https://bugzilla.redhat.com/show_bug.cgi?id=1150289

src/systemctl/systemctl.c

index 12175923e938391635ab6ce0470d1f0575fde5b4..cdaefa52b9c714755c2cff1dd9a73b787741e86d 100644 (file)
@@ -2350,18 +2350,18 @@ static int check_wait_response(WaitData *d) {
                 else if (streq(d->result, "canceled"))
                         log_error("Job for %s canceled.", strna(d->name));
                 else if (streq(d->result, "dependency"))
-                        log_error("A dependency job for %s failed. See 'journalctl -xn' for details.", strna(d->name));
+                        log_error("A dependency job for %s failed. See 'journalctl -xe' for details.", strna(d->name));
                 else if (!streq(d->result, "done") && !streq(d->result, "skipped")) {
                         if (d->name) {
                                 bool quotes;
 
                                 quotes = chars_intersect(d->name, SHELL_NEED_QUOTES);
 
-                                log_error("Job for %s failed. See \"systemctl status %s%s%s\" and \"journalctl -xn\" for details.",
+                                log_error("Job for %s failed. See \"systemctl status %s%s%s\" and \"journalctl -xe\" for details.",
                                           d->name,
                                           quotes ? "'" : "", d->name, quotes ? "'" : "");
                         } else
-                                log_error("Job failed. See \"journalctl -xn\" for details.");
+                                log_error("Job failed. See \"journalctl -xe\" for details.");
                 }
         }