diff options
author | LemonBoy <thatlemon@gmail.com> | 2016-02-13 13:12:29 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2016-06-05 16:24:55 +0200 |
commit | bb190be0bfac956ada4f74a514ff70f28b114efa (patch) | |
tree | 5abd9b45a6a65e0f0ed02e1885a4c2b671367718 /src/core/settings.c | |
parent | 1a6ec1b0b63c4ffbaf22137157a6fae3570b6839 (diff) | |
download | irssi-bb190be0bfac956ada4f74a514ff70f28b114efa.zip |
Replace mkpath with g_mkdir_with_parents
Diffstat (limited to 'src/core/settings.c')
-rw-r--r-- | src/core/settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/settings.c b/src/core/settings.c index 8e493124..17fc4115 100644 --- a/src/core/settings.c +++ b/src/core/settings.c @@ -683,7 +683,7 @@ static void init_configfile(void) if (stat(get_irssi_dir(), &statbuf) != 0) { /* ~/.irssi not found, create it. */ - if (mkpath(get_irssi_dir(), 0700) != 0) { + if (g_mkdir_with_parents(get_irssi_dir(), 0700) != 0) { g_error("Couldn't create %s directory", get_irssi_dir()); } } else if (!S_ISDIR(statbuf.st_mode)) { |