aboutsummaryrefslogtreecommitdiff
path: root/src/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc.c')
-rw-r--r--src/rc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc.c b/src/rc.c
index 5c951beb..4e76b56b 100644
--- a/src/rc.c
+++ b/src/rc.c
@@ -1016,8 +1016,8 @@ int main (int argc, char **argv)
eerrorx ("failed to load deptree");
/* Clean the failed services state dir now */
- if (rc_is_dir (RC_SVCDIR "failed"))
- rc_rm_dir (RC_SVCDIR "failed", false);
+ if (rc_is_dir (RC_SVCDIR "/failed"))
+ rc_rm_dir (RC_SVCDIR "/failed", false);
mkdir (RC_STOPPING, 0755);