]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: Add missing "/" to files created by 'edit --runtime' 3581/head
authorDouglas Christman <DouglasChristman@gmail.com>
Wed, 22 Jun 2016 19:09:33 +0000 (15:09 -0400)
committerDouglas Christman <DouglasChristman@gmail.com>
Wed, 22 Jun 2016 19:09:33 +0000 (15:09 -0400)
src/systemctl/systemctl.c

index 0dfdae453856466a3614019fe03a0c1b670664fa..38b5a7e0824b47c4cab786a00256b0437b8aa3f6 100644 (file)
@@ -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();
         }