aboutsummaryrefslogtreecommitdiff
path: root/lib/init
diff options
context:
space:
mode:
Diffstat (limited to 'lib/init')
-rw-r--r--lib/init/rdsvc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/init/rdsvc.c b/lib/init/rdsvc.c
index 0e5bc99..27ce5e5 100644
--- a/lib/init/rdsvc.c
+++ b/lib/init/rdsvc.c
@@ -47,7 +47,9 @@ static int try_pack_argv(char *str, rdline_t *rd)
static int svc_desc(void *user, char *arg, rdline_t *rd, int flags)
{
service_t *svc = user;
- (void)flags;
+
+ if (flags & RDSVC_NO_DESC)
+ return 0;
if (try_unescape(arg, rd))
return -1;