projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8002fb9
)
execute: downgrade a log message ERR → WARNING, since we proceed ignoring its result
author
Lennart Poettering
<lennart@poettering.net>
Tue, 26 Sep 2017 15:42:17 +0000
(17:42 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 26 Sep 2017 15:46:33 +0000
(17:46 +0200)
src/core/execute.c
patch
|
blob
|
history
diff --git
a/src/core/execute.c
b/src/core/execute.c
index
2baf824
..
54e4043
100644
(file)
--- a/
src/core/execute.c
+++ b/
src/core/execute.c
@@
-588,7
+588,7
@@
static int setup_output(
case EXEC_OUTPUT_JOURNAL_AND_CONSOLE:
r = connect_logger_as(unit, context, params, o, ident, fileno, uid, gid);
if (r < 0) {
- log_unit_
error
_errno(unit, r, "Failed to connect %s to the journal socket, ignoring: %m", fileno == STDOUT_FILENO ? "stdout" : "stderr");
+ log_unit_
warning
_errno(unit, r, "Failed to connect %s to the journal socket, ignoring: %m", fileno == STDOUT_FILENO ? "stdout" : "stderr");
r = open_null_as(O_WRONLY, fileno);
} else {
struct stat st;