Bugfix for 'repbin'

develop 2.1.5
root 15 years ago
parent 77d24e167f
commit 946aff7127

@ -45,7 +45,7 @@ int write_log(char *message){
int fd;
lt = time(NULL);
ptr_time = localtime (&lt);
fd = open(FILE_LOG,O_WRONLY|O_CREAT|O_APPEND);
fd = open(FILE_LOG,O_WRONLY|O_CREAT|O_APPEND, 0600);
if (fd == -1)
{
printf("No open or create file %s\n",FILE_LOG);

Loading…
Cancel
Save