diff options
author | TingPing <TingPing@users.noreply.github.com> | 2014-01-30 21:42:03 -0500 |
---|---|---|
committer | TingPing <TingPing@users.noreply.github.com> | 2014-01-30 21:42:03 -0500 |
commit | 604337ccc7b2ec1b6fc22885b5ef02f7bb5b2f9a (patch) | |
tree | 5b3e6958c488e2275e242f55d8dcfe071cb853f0 | |
parent | b1a3c6135c5dd59c20e37bbd0b36843f29d5e5ec (diff) |
Make all parent directories when creating configdir
-rw-r--r-- | src/common/cfgfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 489eeda2..b7a8beda 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -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); |