summaryrefslogtreecommitdiffstats
path: root/src/core/exec-invoke.c
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-02-19 13:43:47 +0100
committerMike Yuan <me@yhndnzj.com>2024-02-19 16:12:59 +0100
commitb159680db085af31aff06ed254c811503881d924 (patch)
tree7274798e99bba4766c478e27566944f9d2a9028c /src/core/exec-invoke.c
parentcore/exec-invoke: record correct exit status when failed to locate executable (diff)
downloadsystemd-b159680db085af31aff06ed254c811503881d924.tar.xz
systemd-b159680db085af31aff06ed254c811503881d924.zip
core/exec-invoke: raise the log level of missing executable to notice
Suggested in https://github.com/systemd/systemd/pull/31351#discussion_r1494450831: > one above just informational, but also not a warning yet.
Diffstat (limited to 'src/core/exec-invoke.c')
-rw-r--r--src/core/exec-invoke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/exec-invoke.c b/src/core/exec-invoke.c
index ec765031ed..02f66ead2d 100644
--- a/src/core/exec-invoke.c
+++ b/src/core/exec-invoke.c
@@ -4793,7 +4793,7 @@ int exec_invoke(
r = find_executable_full(command->path, /* root= */ NULL, context->exec_search_path, false, &executable, &executable_fd);
if (r < 0) {
*exit_status = EXIT_EXEC;
- log_exec_struct_errno(context, params, LOG_INFO, r,
+ log_exec_struct_errno(context, params, LOG_NOTICE, r,
"MESSAGE_ID=" SD_MESSAGE_SPAWN_FAILED_STR,
LOG_EXEC_INVOCATION_ID(params),
LOG_EXEC_MESSAGE(params,