mirror of
https://github.com/FunKey-Project/fkgpiod.git
synced 2025-12-12 16:08:51 +01:00
removed debugs
This commit is contained in:
parent
bdbe6e354a
commit
b482c729bd
5
main.c
5
main.c
@ -213,15 +213,10 @@ int main(int argc, char *argv[])
|
||||
if (daemon) {
|
||||
|
||||
/* 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);
|
||||
printf("Func %s, line %d\n", __func__, __LINE__);
|
||||
to_log(&stdout);
|
||||
printf("Func %s, line %d\n", __func__, __LINE__);
|
||||
to_log(&stderr);
|
||||
printf("Func %s, line %d\n", __func__, __LINE__);
|
||||
daemonize("/", PID_FILE);
|
||||
printf("Func %s, line %d\n", __func__, __LINE__);
|
||||
}
|
||||
|
||||
/* Initialize the uinput device */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user