int main (int argc, char **argv)
{
struct sigaction sigIntAction, sigChldAction;
+#if COLLECT_DAEMON
pid_t pid;
+#endif
char *plugindir = NULL;
char *basedir = DATADIR;
/*
* fork off child
*/
-#if DEBUG == 0
+#if COLLECT_DAEMON
if (daemonize)
{
if ((pid = fork ()) == -1)
return (1);
}
} /* if (daemonize) */
-#endif
+#endif /* COLLECT_DAEMON */
/*
* run the actual loops