mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
commit
fd371cc345
20 changed files with 63 additions and 189 deletions
|
|
@ -752,7 +752,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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue