Only save config if g_extern.config_path is set.

This commit is contained in:
Themaister 2013-05-22 19:49:51 +02:00
parent 6654979cbb
commit f6c126ecaa

View File

@ -99,7 +99,7 @@ int main(int argc, char *argv[])
menu_free();
if (g_extern.config_save_on_exit)
if (g_extern.config_save_on_exit && *g_extern.config_path)
config_save_file(g_extern.config_path);
if (g_extern.main_is_init)