Commit 80072acb authored by jan.koester's avatar jan.koester
Browse files

daemon support

parent b68bd633
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -440,7 +440,7 @@ public:
};

void logFiles(const char *path,int fd){
    int pfd=open(path,O_APPEND,O_WRONLY,O_CREAT);
    int pfd=open(path,O_APPEND|O_CREAT|O_WRONLY,S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH);

    struct passwd *pwd=getpwnam("blogi");