summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s6-rc/s6-rc-init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/s6-rc/s6-rc-init.c b/src/s6-rc/s6-rc-init.c
index 5551d6e..b591cc0 100644
--- a/src/s6-rc/s6-rc-init.c
+++ b/src/s6-rc/s6-rc-init.c
@@ -121,6 +121,7 @@ int main (int argc, char const *const *argv)
deref = s6rc_servicedir_manage_g(live, prefix, &deadline) ;
if (!deref)
{
+ unlink_void(live) ;
cleanup(&sa) ;
strerr_diefu3sys(111, "supervise service directories in ", live, "/servicedirs") ;
}