summaryrefslogtreecommitdiff
path: root/read_cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'read_cfg.c')
-rw-r--r--read_cfg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/read_cfg.c b/read_cfg.c
index 23d7af6..b8d90fb 100644
--- a/read_cfg.c
+++ b/read_cfg.c
@@ -215,7 +215,6 @@ void handle_fname(char *path, char *group){
//check if autoAlias is on. If it is, go to the autoAlias function
if(hr){
- printf("DEBUG: path = %s\n", relative_path_cpy);
strcpy(auto_name, autoAlias(relative_path_cpy));
new = create_entry(auto_name, relative_path_cpy);
}
@@ -230,6 +229,9 @@ void handle_fname(char *path, char *group){
//directory is not real, report error to the user
else printf("Error: \"%s\" bad path\n", dirname);
}
+
+ //path is not real, report error to the user
+ else printf("Error: \"%s\" bad path\n", dirname);
}
//file name is okay