git-svn: trunk@4514
Tomasz Kojm authored on 2008/12/03 18:23:18... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Wed Dec 3 10:27:17 CET 2008 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * docs/man/freshclam.1.in: document EXIT_n |
|
4 |
+ |
|
1 | 5 |
Wed Dec 3 00:21:43 EET 2008 (edwin) |
2 | 6 |
------------------------------------ |
3 | 7 |
* libclamav/special.c: use a more precise J48 tree (built from more |
... | ... |
@@ -85,6 +85,8 @@ Upload detection statistics to the ClamAV Project (see freshclam.conf(5):SubmitD |
85 | 85 |
|
86 | 86 |
\fBfreshclam \-d \-c 2\fR |
87 | 87 |
.SH "RETURN CODES" |
88 |
+Some return codes of freshclam can be overwritten with a built-in command EXIT_n which can be passed to --on-*-execute, eg. --on-update-execute=EXIT_1 will force freshclam to always return 1 after successful database update. |
|
89 |
+.TP |
|
88 | 90 |
0 : Database successfully updated. |
89 | 91 |
.TP |
90 | 92 |
1 : Database is up\-to\-date. |