aboutsummaryrefslogtreecommitdiffstats
path: root/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
index 10f38cb..8123bae 100644
--- a/src/init.c
+++ b/src/init.c
@@ -59,6 +59,14 @@ static int init_create_config_file(UserOpt *opt) {
strcat(tmp, "\n");
fputs(tmp, f);
+ strcpy(tmp, "# Uncomment this line to enable logging in file\n");
+ fputs(tmp, f);
+
+ strcpy(tmp, "# log_dir = ");
+ strcat(tmp, opt->confDir);
+ strcat(tmp, "\n");
+ fputs(tmp, f);
+
fclose(f);
return 0;
}