diff options
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index cd3c9e117..35b1361bc 100644 --- a/src/main.c +++ b/src/main.c @@ -387,6 +387,9 @@ int main(int ac, char **av, char **envp) binary_dir = GetFullProgDir(av[0]); services_dir = binary_dir + "/../data"; + /* Clean out the module runtime directory prior to running, just in case files were left behind during a previous run */ + ModuleRunTimeDirCleanUp(); + /* General initialization first */ if ((i = init_primary(ac, av)) != 0) return i; |