diff options
Diffstat (limited to 'src/irmd/reg/prog.c')
-rw-r--r-- | src/irmd/reg/prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/reg/prog.c b/src/irmd/reg/prog.c index 660a7674..d1003d80 100644 --- a/src/irmd/reg/prog.c +++ b/src/irmd/reg/prog.c @@ -90,7 +90,7 @@ struct reg_prog * reg_prog_create(const char * prog, if (p->prog == NULL) goto fail_prog; - if (argc > 0 && flags & BIND_AUTO) { + if (flags & BIND_AUTO) { p->argv = create_argv(prog, argc, argv); if (p->argv == NULL) goto fail_argv; |