summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index fbebc043e..3b11cce6b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -560,6 +560,9 @@ int main(int ac, char **av, char **envp)
}
#endif
+ /* Clean out the module runtime directory prior to running, just in case files were left behind on a previous run */
+ ModuleRunTimeDirCleanUp();
+
/* General initialization first */
if ((i = init_primary(ac, av)) != 0)
return i;