forked from github/server
create report directory before writing reports.txt
This commit is contained in:
parent
b399356971
commit
0d8a196491
|
@ -1754,6 +1754,7 @@ int reports(void)
|
|||
report_donations();
|
||||
remove_empty_units();
|
||||
|
||||
_mkdir(reportpath());
|
||||
sprintf(path, "%s/reports.txt", reportpath());
|
||||
mailit = fopen(path, "w");
|
||||
if (mailit == NULL) {
|
||||
|
|
Loading…
Reference in New Issue