diff options
Diffstat (limited to 'src/getht.c')
-rw-r--r-- | src/getht.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/getht.c b/src/getht.c index 6528652..63ba956 100644 --- a/src/getht.c +++ b/src/getht.c @@ -75,16 +75,6 @@ int main(int argc, char *argv[]) if(loadconfig(getht_path, &options) != 0) writefreshconfig(getht_path, &options); - if(!opendir(options.save_path)) - if(mkdir(options.save_path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)) - { - fprintf(stderr,"Cannot open/create directory %s",options.save_path); - printf("Please enter the path of a directory to save issues in: "); - scanf("%s", options.save_path); - - updateconfig(getht_path, &options); - } - /* Parse command line options */ char c; static struct option long_opts[] = |