commit | b28579dab6d058a4ac2dd09953963563d4c68703 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Tue Feb 12 11:15:52 2013 -0600 |
committer | akmhoque <akmhoque@gmail.com> | Tue Feb 12 11:15:52 2013 -0600 |
tree | 2ba7431d01de60849b004ba3296b01cf8d95b3fa | |
parent | 77c18fe6897831166412982aa4901a90eb7b8a58 [diff] [blame] |
Removing Warning Messages
diff --git a/nlsr.c b/nlsr.c index 07b3175..04fb8cf 100644 --- a/nlsr.c +++ b/nlsr.c
@@ -119,7 +119,7 @@ void daemonize_nlsr(void) { - int ret; + //int ret; pid_t process_id = 0; pid_t sid = 0; process_id = fork(); @@ -131,7 +131,7 @@ if (process_id > 0) { printf("Process daemonized. Process id: %d \n", process_id); - ret=process_id; + //ret=process_id; exit(0); }