summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-16 22:59:53 +0200
committerGitHub <noreply@github.com>2020-09-16 22:59:53 +0200
commita7ddeea15da4242f0544f1113da2673bdcd77ebd (patch)
tree0666a6fed8d64980b38f2e3445b3efce0c74a727 /src
parenteb5e26112e6da241284583399d62418716124f8e (diff)
parentc2ee27a5e7fa1c6a71341579baa2d941c6e3e6e6 (diff)
downloadsystemd-a7ddeea15da4242f0544f1113da2673bdcd77ebd.tar.gz
Merge pull request #17067 from keszybz/rc-local-path
Expose the path to rc.local in the man page
Diffstat (limited to 'src')
-rw-r--r--src/rc-local-generator/rc-local-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc-local-generator/rc-local-generator.c b/src/rc-local-generator/rc-local-generator.c
index 908e6272a8..75bb875b79 100644
--- a/src/rc-local-generator/rc-local-generator.c
+++ b/src/rc-local-generator/rc-local-generator.c
@@ -59,7 +59,7 @@ static int run(const char *dest, const char *dest_early, const char *dest_late)
assert_se(arg_dest = dest);
- if (check_executable(RC_LOCAL_SCRIPT_PATH_START) >= 0) {
+ if (check_executable(RC_LOCAL_PATH) >= 0) {
log_debug("Automatically adding rc-local.service.");
r = add_symlink("rc-local.service", "multi-user.target");