Fixes OnOutdatedExecute option in foreground mode. Code was using the OnUpdateExecute command instead.
Antoine DeschĂȘnes authored on 2019/12/04 04:10:06... | ... |
@@ -1782,7 +1782,7 @@ int main(int argc, char **argv) |
1782 | 1782 |
bPrivate ? 0 : optget(opts, "ScriptedUpdates")->enabled, |
1783 | 1783 |
bPrune, |
1784 | 1784 |
optget(opts, "OnUpdateExecute")->enabled ? optget(opts, "OnUpdateExecute")->strarg : NULL, |
1785 |
- optget(opts, "OnOutdatedExecute")->enabled ? optget(opts, "OnUpdateExecute")->strarg : NULL, |
|
1785 |
+ optget(opts, "OnOutdatedExecute")->enabled ? optget(opts, "OnOutdatedExecute")->strarg : NULL, |
|
1786 | 1786 |
optget(opts, "daemon")->enabled, |
1787 | 1787 |
optget(opts, "NotifyClamd")->active ? optget(opts, "NotifyClamd")->strarg : NULL, |
1788 | 1788 |
&fc_context); |