removed debugs

This commit is contained in:
Vincent-FK 2021-04-05 17:33:37 +02:00
parent bdbe6e354a
commit b482c729bd

5
main.c
View File

@ -213,15 +213,10 @@ int main(int argc, char *argv[])
if (daemon) { if (daemon) {
/* Run as a background daemon, redirect all output to syslog */ /* Run as a background daemon, redirect all output to syslog */
printf("Func %s, line %d\n", __func__, __LINE__);
openlog("fkgpiod", LOG_PERROR | LOG_PID | LOG_NDELAY, LOG_DAEMON); openlog("fkgpiod", LOG_PERROR | LOG_PID | LOG_NDELAY, LOG_DAEMON);
printf("Func %s, line %d\n", __func__, __LINE__);
to_log(&stdout); to_log(&stdout);
printf("Func %s, line %d\n", __func__, __LINE__);
to_log(&stderr); to_log(&stderr);
printf("Func %s, line %d\n", __func__, __LINE__);
daemonize("/", PID_FILE); daemonize("/", PID_FILE);
printf("Func %s, line %d\n", __func__, __LINE__);
} }
/* Initialize the uinput device */ /* Initialize the uinput device */