Make all parent directories when creating configdir

This commit is contained in:
TingPing 2014-01-30 21:42:03 -05:00
parent b1a3c6135c
commit 604337ccc7
1 changed files with 1 additions and 1 deletions

View File

@ -926,7 +926,7 @@ make_config_dirs (void)
{
char *buf;
if (g_mkdir (get_xdir (), 0700) != 0)
if (g_mkdir_with_parents (get_xdir (), 0700) != 0)
return -1;
buf = g_build_filename (get_xdir (), "addons", NULL);