diff options
Diffstat (limited to 'src/testd.c')
-rw-r--r-- | src/testd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testd.c b/src/testd.c index f512cec9..7deb00eb 100644 --- a/src/testd.c +++ b/src/testd.c @@ -1,7 +1,8 @@ #include <sys/signal.h> #include <unistd.h> -void main() { +int main() { signal(SIGTERM, SIG_IGN); while (1) sleep(20); + exit(0); } |