summaryrefslogtreecommitdiff
path: root/src/getht.c
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2008-07-05 13:42:56 +0100
committerNick White <git@njw.me.uk>2008-07-05 13:42:56 +0100
commit426b90eb144b92048edef8d77b8894b70ee40c72 (patch)
tree6efa75512580b3eebaca773e95cca9f82341bcff /src/getht.c
parente19a189c4019b52f5a9c70b22941b3450a911591 (diff)
Don't create save directory until needed
Diffstat (limited to 'src/getht.c')
-rw-r--r--src/getht.c10
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[] =