95 |
95 |
96 int main(int argc, char **argv) { |
96 int main(int argc, char **argv) { |
97 //test(); |
97 //test(); |
98 |
98 |
99 /* if the -c parameter is specified, we don't create a daemon */ |
99 /* if the -c parameter is specified, we don't create a daemon */ |
100 int d = 1; |
100 int d = 0; |
101 for(int i=0;i<argc;i++) { |
101 for(int i=0;i<argc;i++) { |
102 char *p = argv[i]; |
102 char *p = argv[i]; |
103 if(p[0] == '-' && p[1] == 'c') { |
103 if(p[0] == '-' && p[1] == 'c') { |
104 d = 0; |
104 d = 0; |
105 break; |
105 break; |