|
Zbigniew Jędrzejewski-Szmek |
f1004d |
From b923047d73f412be40ba162e0b664cff3c17a480 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
Date: Wed, 8 Oct 2014 20:22:51 -0400
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
Subject: [PATCH] systemctl: suggest -xe not -xn
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
https://bugzilla.redhat.com/show_bug.cgi?id=1150289
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
---
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
src/systemctl/systemctl.c | 6 +++---
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
index 12175923e9..cdaefa52b9 100644
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
--- a/src/systemctl/systemctl.c
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
+++ b/src/systemctl/systemctl.c
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
@@ -2350,18 +2350,18 @@ static int check_wait_response(WaitData *d) {
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
else if (streq(d->result, "canceled"))
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
log_error("Job for %s canceled.", strna(d->name));
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
else if (streq(d->result, "dependency"))
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
- log_error("A dependency job for %s failed. See 'journalctl -xn' for details.", strna(d->name));
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
+ log_error("A dependency job for %s failed. See 'journalctl -xe' for details.", strna(d->name));
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
else if (!streq(d->result, "done") && !streq(d->result, "skipped")) {
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
if (d->name) {
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
bool quotes;
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
quotes = chars_intersect(d->name, SHELL_NEED_QUOTES);
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
- log_error("Job for %s failed. See \"systemctl status %s%s%s\" and \"journalctl -xn\" for details.",
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
+ log_error("Job for %s failed. See \"systemctl status %s%s%s\" and \"journalctl -xe\" for details.",
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
d->name,
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
quotes ? "'" : "", d->name, quotes ? "'" : "");
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
} else
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
- log_error("Job failed. See \"journalctl -xn\" for details.");
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
+ log_error("Job failed. See \"journalctl -xe\" for details.");
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
}
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
}
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
|