Fixed a bug
This commit is contained in:
parent
b2ee501bbe
commit
bfda88d350
8 changed files with 367 additions and 88 deletions
|
|
@ -159,10 +159,10 @@ int main(int argc, char ** argv){
|
|||
if (server_socket.connected()){
|
||||
//if setup success, enter daemon mode if requested
|
||||
if (daemon_mode){
|
||||
daemon(1, 0);
|
||||
#if DEBUG >= 3
|
||||
fprintf(stderr, "Going into background mode...\n");
|
||||
#endif
|
||||
daemon(1, 0);
|
||||
}
|
||||
}else{
|
||||
#if DEBUG >= 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue