diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2019-06-16 20:50:58 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2019-06-16 20:51:23 +0200 |
commit | 0d985a7430299aba28e136d9558497ae02c8085e (patch) | |
tree | ea437703e8ceb033f3026c72c8662454381183bc /lib/init | |
parent | 60efd9dc336ec80044b6fa2d1418df20df2a1768 (diff) |
Add RDSVC_NO_DESC flag
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib/init')
-rw-r--r-- | lib/init/rdsvc.c | 4 |
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; |