From 7378343295af76d0cb33f725d3052b1557ac1b2e Mon Sep 17 00:00:00 2001 From: louie Date: Fri, 10 Jul 2020 16:34:54 -0700 Subject: Fixed bugs related to Executables --- read_cfg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'read_cfg.c') 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 -- cgit