diff options
Diffstat (limited to 'src/librc/librc.c')
-rw-r--r-- | src/librc/librc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c index ee728b30..f45cc859 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -1296,8 +1296,7 @@ rc_service_add(const char *runlevel, const char *service) i = binit; } - xasprintf(&file, "%s/%s/%s", RC_RUNLEVELDIR, runlevel, - basename_c(service)); + xasprintf(&file, "%s/%s/%s", rc_runlevel_dir(), runlevel, basename_c(service)); retval = (symlink(i, file) == 0); free(file); free(binit); |