From: Douglas Christman Date: Wed, 22 Jun 2016 19:09:33 +0000 (-0400) Subject: systemctl: Add missing "/" to files created by 'edit --runtime' X-Git-Tag: v231~129^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3581%2Fhead;p=thirdparty%2Fsystemd.git systemctl: Add missing "/" to files created by 'edit --runtime' --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 0dfdae45385..38b5a7e0824 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -6093,7 +6093,7 @@ static int get_file_to_edit( return log_oom(); if (arg_runtime) { - run = strjoin(paths->runtime_config, name, NULL); + run = strjoin(paths->runtime_config, "/", name, NULL); if (!run) return log_oom(); }