summaryrefslogtreecommitdiff
path: root/src/core/job.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-05-07 17:29:39 +0200
committerGitHub <noreply@github.com>2021-05-07 17:29:39 +0200
commit37ef2fc9f7709c710692081e7e3be94d7b16d9fa (patch)
tree1702f5f959125f99b9d179cc45bc34594ab6e885 /src/core/job.c
parentd0f14a6cf410f46ccc2efcfbdd13ee2608ada317 (diff)
parent2f960b3858eeefb3d27621291b94b72809e288e4 (diff)
downloadsystemd-37ef2fc9f7709c710692081e7e3be94d7b16d9fa.tar.gz
Merge pull request #18863 from keszybz/cmdline-escaping
Escape command lines properly
Diffstat (limited to 'src/core/job.c')
-rw-r--r--src/core/job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/job.c b/src/core/job.c
index cfc1209615..57829d185a 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -848,7 +848,7 @@ static void job_print_done_status_message(Unit *u, JobType t, JobResult result)
if (t == JOB_START && result == JOB_FAILED) {
_cleanup_free_ char *quoted = NULL;
- quoted = shell_maybe_quote(u->id, ESCAPE_BACKSLASH);
+ quoted = shell_maybe_quote(u->id, 0);
manager_status_printf(u->manager, STATUS_TYPE_NORMAL, NULL, "See 'systemctl status %s' for details.", strna(quoted));
}
}