X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Frc-local-generator%2Frc-local-generator.c;h=f41a6bf265f9f0a5fdcec807baa0aa10f0ccedc2;hb=d2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a;hp=38168cc01f74af7b5d82e8b42a31a907d0217915;hpb=051d68786bd5bfe87e7cc0c1d68ec4be83eb662a;p=elogind.git diff --git a/src/rc-local-generator/rc-local-generator.c b/src/rc-local-generator/rc-local-generator.c index 38168cc01..f41a6bf26 100644 --- a/src/rc-local-generator/rc-local-generator.c +++ b/src/rc-local-generator/rc-local-generator.c @@ -53,7 +53,7 @@ static int add_symlink(const char *service, const char *where) { goto finish; } - mkdir_parents(to, 0755); + mkdir_parents_label(to, 0755); r = symlink(from, to); if (r < 0) {