aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTejun Heo <htejun@fb.com>2016-05-27 08:41:45 -0700
committerMike Gilbert <floppym@gentoo.org>2016-05-28 10:06:51 -0400
commit346eb3b70d80fc8a88b05b323ac452cb37b26446 (patch)
treeb439a2e0b8993113511e59edce70e0635ae99ad7
parent{machine,system}ctl: always pass &changes and &n_changes (#3350) (diff)
downloadsystemd-346eb3b70d80fc8a88b05b323ac452cb37b26446.tar.gz
systemd-346eb3b70d80fc8a88b05b323ac452cb37b26446.tar.bz2
systemd-346eb3b70d80fc8a88b05b323ac452cb37b26446.zip
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 06943c636..e21956def 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;