1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-29 14:27:45 +02:00

Fix #372 - can't start with missing ~/.config

This block was added in fa0e645. I'm unsure what bug or corner case it
was intended to address but it causes Toxic to exit with an error if
the ~/.config directory doesn't exist. Without this block the ~/.config
directory and tox-specific subdirectories will be created when Toxic
starts.
This commit is contained in:
Wedge Jarrad 2015-12-17 18:17:34 -08:00
parent 36feebfe8d
commit 675712cea0

View File

@ -99,11 +99,6 @@ char *get_user_config_dir(void)
# endif /* __APPLE__ */
if (!file_exists(user_config_dir)) {
free(user_config_dir);
return NULL;
}
return user_config_dir;
}