1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 03:02:17 -05:00

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

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);