summary refs log tree commit diff
path: root/daemon.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-14 17:36:31 -0400
committerJune McEnroe <june@causal.agency>2020-08-14 17:36:31 -0400
commit5f47019106f516955e702ee44f3c780b2ced0b1e (patch)
tree06ba0fc0bc6803e71ec4242105c87694be725648 /daemon.c
parentFlesh out Service struct (diff)
downloadcatsit-5f47019106f516955e702ee44f3c780b2ced0b1e.tar.gz
catsit-5f47019106f516955e702ee44f3c780b2ced0b1e.zip
Implement serviceStart
Diffstat (limited to '')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index a2ce4dc..d0a6579 100644
--- a/daemon.c
+++ b/daemon.c
@@ -18,6 +18,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <grp.h>
+#include <poll.h>
 #include <pwd.h>
 #include <stdarg.h>
 #include <stdbool.h>
@@ -122,7 +123,6 @@ int main(int argc, char *argv[]) {
 	setprogname(argv[0]);
 
 	bool daemonize = true;
-	setAdd(&stopExits, 127);
 	setAdd(&stopExits, EX_USAGE);
 	setAdd(&stopExits, EX_DATAERR);
 	setAdd(&stopExits, EX_NOINPUT);