Commit ac72368d authored by Jean-Paul Saman's avatar Jean-Paul Saman

modules: do not autosave configfile when --ignore-config is specified

parent d600db5f
...@@ -172,7 +172,8 @@ void module_EndBank( vlc_object_t *p_this, bool b_plugins ) ...@@ -172,7 +172,8 @@ void module_EndBank( vlc_object_t *p_this, bool b_plugins )
assert (p_bank != NULL); assert (p_bank != NULL);
/* Save the configuration */ /* Save the configuration */
config_AutoSaveConfigFile( p_this ); if( !config_GetInt( p_this, "ignore-config" ) )
config_AutoSaveConfigFile( p_this );
/* If plugins were _not_ loaded, then the caller still has the bank lock /* If plugins were _not_ loaded, then the caller still has the bank lock
* from module_InitBank(). */ * from module_InitBank(). */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment