new: add docker and compose files
This commit is contained in:
@ -122,7 +122,7 @@ int main(int argc, char *argv[]) {
|
||||
goto end;
|
||||
|
||||
if ((logfile = config_get_string("log")) != NULL) {
|
||||
FILE *log = fopen(logfile, "r");
|
||||
FILE *log = fopen(logfile, "a");
|
||||
|
||||
if (NULL == log)
|
||||
error(_("Failed to open the log file: %s"), strerror(errno));
|
||||
|
Reference in New Issue
Block a user