dc6c42a
Index: clamav-0.96.1/shared/optparser.c
e939bcc
===================================================================
dc6c42a
--- clamav-0.96.1.orig/shared/optparser.c
dc6c42a
+++ clamav-0.96.1/shared/optparser.c
dc6c42a
@@ -236,7 +236,7 @@ const struct clam_option __clam_options[
e939bcc
 
e939bcc
     { "ExitOnOOM", NULL, 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD, "Stop the daemon when libclamav reports an out of memory condition.", "yes" },
e939bcc
 
e939bcc
-    { "Foreground", NULL, 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM | OPT_MILTER, "Don't fork into background.", "no" },
e939bcc
+    { "Foreground", "nofork", 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM | OPT_MILTER, "Don't fork into background.", "no" },
e939bcc
 
e939bcc
     { "Debug", NULL, 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM, "Enable debug messages in libclamav.", "no" },
e939bcc