Skip to content
Snippets Groups Projects
Commit b4a8712f authored by rswindell's avatar rswindell
Browse files

Bug-fix: don't over-ride the syslog facility type when using the '-d' option

and no facility type was specified.
parent 400d51ec
No related branches found
No related tags found
No related merge requests found
......@@ -1215,7 +1215,8 @@ int main(int argc, char** argv)
#ifdef __unix__
case 'D': /* Run as daemon */
is_daemon=TRUE;
SAFECOPY(daemon_type,arg++);
if(*arg)
SAFECOPY(daemon_type,arg++);
break;
#endif
case 'T': /* Telnet settings */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment