diff options
author | June McEnroe <june@causal.agency> | 2020-08-14 17:36:31 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-14 17:36:31 -0400 |
commit | 5f47019106f516955e702ee44f3c780b2ced0b1e (patch) | |
tree | 06ba0fc0bc6803e71ec4242105c87694be725648 /daemon.c | |
parent | Flesh out Service struct (diff) | |
download | catsit-5f47019106f516955e702ee44f3c780b2ced0b1e.tar.gz catsit-5f47019106f516955e702ee44f3c780b2ced0b1e.zip |
Implement serviceStart
Diffstat (limited to '')
-rw-r--r-- | daemon.c | 2 |
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); |