summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTejun Heo <htejun@fb.com>2016-05-27 08:41:45 -0700
committerLennart Poettering <lennart@poettering.net>2016-05-27 17:41:45 +0200
commit83afa09d97e47c746d840a5893d375052dd57523 (patch)
tree041d8ea8236f1532d84d6043cfb86537679a9678
parent694fe5d45e069fad1e6f2f6508a4e3c6a7590c34 (diff)
core: fix missing newline when writing drop-in for WorkingDirectory (#3337)
-rw-r--r--src/core/dbus-execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c
index 06943c6365..e21956def1 100644
--- a/src/core/dbus-execute.c
+++ b/src/core/dbus-execute.c
@@ -987,7 +987,7 @@ int bus_exec_context_set_transient_property(
}
c->working_directory_missing_ok = missing_ok;
- unit_write_drop_in_private_format(u, mode, name, "WorkingDirectory=%s%s", missing_ok ? "-" : "", s);
+ unit_write_drop_in_private_format(u, mode, name, "WorkingDirectory=%s%s\n", missing_ok ? "-" : "", s);
}
return 1;