diff --git a/opendmarc/opendmarc.c b/opendmarc/opendmarc.c index 65f6b49..48fe138 100644 --- a/opendmarc/opendmarc.c +++ b/opendmarc/opendmarc.c @@ -5255,8 +5255,11 @@ main(int argc, char **argv) n -= status; } - syslog(LOG_INFO, "%s v%s starting (%s)", DMARCF_PRODUCT, - VERSION, argstr); + syslog(LOG_INFO, "%s v%s starting%s%s%s", DMARCF_PRODUCT, + VERSION, + strlen(argstr) == 0 ? "" : " (", + argstr, + strlen(argstr) == 0 ? "" : ")"); memset(argstr, '\0', sizeof argstr); strlcpy(argstr, "(none)", sizeof argstr);