Commit f39e15fc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove the old .vlc/vlcrc after parsing

parent 6c46ed13
...@@ -118,6 +118,9 @@ static FILE *config_OpenConfigFile( vlc_object_t *p_obj ) ...@@ -118,6 +118,9 @@ static FILE *config_OpenConfigFile( vlc_object_t *p_obj )
} }
free( psz_readme ); free( psz_readme );
} }
/* Remove the old configuration file so that --reset-config
* can work properly. */
unlink( psz_old );
} }
free( psz_old ); free( psz_old );
} }
......
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