summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 10e01be2a..83bca7c44 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1708,6 +1708,10 @@ int main(int argc, char *argv[])
#endif // !SERVER
+ // Update configuration file
+ if(configpath != "")
+ g_settings->updateConfigFile(configpath.c_str());
+
END_DEBUG_EXCEPTION_HANDLER(errorstream)
debugstreams_deinit();