summaryrefslogtreecommitdiff
path: root/src/execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-18 23:25:19 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-18 23:25:19 +0200
commitf2d3769a161f5b341b20321ca7cb3f689387f410 (patch)
tree1ec8365bcf8be0489acab542bc573d0e098b74c4 /src/execute.c
parent8c40acf7cba891ff73f86cf75eba058e8cb495ac (diff)
execute: handle format strings in User= and other directives
Diffstat (limited to 'src/execute.c')
-rw-r--r--src/execute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/execute.c b/src/execute.c
index ed10ea2bfb..28baeedcfc 100644
--- a/src/execute.c
+++ b/src/execute.c
@@ -1517,9 +1517,9 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
}
if (c->user)
- fprintf(f, "%sUser: %s", prefix, c->user);
+ fprintf(f, "%sUser: %s\n", prefix, c->user);
if (c->group)
- fprintf(f, "%sGroup: %s", prefix, c->group);
+ fprintf(f, "%sGroup: %s\n", prefix, c->group);
if (strv_length(c->supplementary_groups) > 0) {
fprintf(f, "%sSupplementaryGroups:", prefix);
@@ -1528,7 +1528,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
}
if (c->pam_name)
- fprintf(f, "%sPAMName: %s", prefix, c->pam_name);
+ fprintf(f, "%sPAMName: %s\n", prefix, c->pam_name);
if (strv_length(c->read_write_dirs) > 0) {
fprintf(f, "%sReadWriteDirs:", prefix);