From 675712cea072b765bf35a7266619154670cf567f Mon Sep 17 00:00:00 2001 From: Wedge Jarrad Date: Thu, 17 Dec 2015 18:17:34 -0800 Subject: [PATCH] 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. --- src/configdir.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/configdir.c b/src/configdir.c index db63b6f..d1e5f8d 100644 --- a/src/configdir.c +++ b/src/configdir.c @@ -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; }