clamav/clamav-0.98-cliopts.patch

12 lines
740 B
Diff
Raw Normal View History

--- clamav-0.98/shared/optparser.c 2013-09-16 21:28:14.000000000 +0200
+++ clamav-0.98/shared/optparser.c.cliopts 2013-10-06 20:34:18.000000000 +0200
@@ -255,7 +255,7 @@
2009-03-08 11:38:36 +00:00
{ "AllowAllMatchScan", NULL, 0, TYPE_BOOL, MATCH_BOOL, 1, NULL, 0, OPT_CLAMD, "Permit use of the ALLMATCHSCAN command.", "yes" },
2009-03-08 11:38:36 +00:00
- { "Foreground", NULL, 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM | OPT_MILTER, "Don't fork into background.", "no" },
+ { "Foreground", "nofork", 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM | OPT_MILTER, "Don't fork into background.", "no" },
{ "Debug", NULL, 0, TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM, "Enable debug messages in libclamav.", "no" },