[systemd-commits] src/systemctl

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Wed Oct 8 17:23:22 PDT 2014


 src/systemctl/systemctl.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit b923047d73f412be40ba162e0b664cff3c17a480
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Wed Oct 8 20:22:51 2014 -0400

    systemctl: suggest -xe not -xn
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1150289

diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 1217592..cdaefa5 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -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.");
                 }
         }
 



More information about the systemd-commits mailing list