Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 0313e3df9b475284375a4b1078e6db87 > files > 1

clamav-0.99.1-1.mga5.src.rpm

diff -Naurp clamav-0.98.5/shared/optparser.c clamav-0.98.5.oden/shared/optparser.c
--- clamav-0.98.5/shared/optparser.c	2014-11-13 23:30:44.000000000 +0100
+++ clamav-0.98.5.oden/shared/optparser.c	2014-11-19 15:17:44.000000000 +0100
@@ -272,7 +272,7 @@ const struct clam_option __clam_options[
 
     { "AllowAllMatchScan", NULL, 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD, "Permit use of the ALLMATCHSCAN command.", "yes" },
 
-    { "Foreground", NULL, 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM | OPT_MILTER, "Don't fork into background.", "no" },
+    { "Foreground", "nofork", 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM | OPT_MILTER, "Don't fork into background.", "no" },
 
     { "Debug", NULL, 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM, "Enable debug messages in libclamav.", "no" },