git-svn: trunk@4292
Tomasz Kojm authored on 2008/10/27 22:28:48... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Mon Oct 27 14:54:34 CET 2008 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * freshclam/execute.c: don't execute special events twice in interactive |
|
4 |
+ mode (bb#1256) |
|
5 |
+ |
|
1 | 6 |
Fri Oct 24 11:45:41 CEST 2008 (tk) |
2 | 7 |
---------------------------------- |
3 | 8 |
* libclamav: fix detection of Worm.Mydoom.M.log and control it with |
... | ... |
@@ -52,10 +52,10 @@ void execute( const char *type, const char *text, const struct optstruct *opt ) |
52 | 52 |
logg("*%s: EXIT_%d\n", type, ret); |
53 | 53 |
exit(ret); |
54 | 54 |
} |
55 |
- if(system(text) == -1) { |
|
55 |
+ if(system(text) == -1) |
|
56 | 56 |
logg("%s: system(%s) failed\n", type, text); |
57 |
- return; |
|
58 |
- } |
|
57 |
+ |
|
58 |
+ return; |
|
59 | 59 |
} |
60 | 60 |
|
61 | 61 |
#ifdef C_WINDOWS |