summaryrefslogtreecommitdiff
path: root/read_cfg.c
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-07-10 16:34:54 -0700
committerlouie <lshprung@yahoo.com>2020-07-10 16:34:54 -0700
commit7378343295af76d0cb33f725d3052b1557ac1b2e (patch)
tree40da4c79b73997bb3ff10cfcb3bc43d9f81dd9a9 /read_cfg.c
parent2ca6074cfcf99d89d665b7ebe3d2768c2adce2fe (diff)
Fixed bugs related to Executables
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