aboutsummaryrefslogtreecommitdiff
path: root/lib/init
diff options
context:
space:
mode:
Diffstat (limited to 'lib/init')
-rw-r--r--lib/init/rdsvc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/init/rdsvc.c b/lib/init/rdsvc.c
index b86a27b..7ce68e3 100644
--- a/lib/init/rdsvc.c
+++ b/lib/init/rdsvc.c
@@ -81,6 +81,8 @@ static int svc_exec(void *user, char *arg, rdline_t *rd, int flags)
service_t *svc = user;
exec_t *e, *end;
+ svc->flags |= SVC_FLAG_HAS_EXEC;
+
if (flags & RDSVC_NO_EXEC)
return 0;