summaryrefslogtreecommitdiff
path: root/pullreqd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pullreqd.c')
-rw-r--r--pullreqd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pullreqd.c b/pullreqd.c
index 039b8bc..406af10 100644
--- a/pullreqd.c
+++ b/pullreqd.c
@@ -64,9 +64,10 @@ void init_daemon(int change_dir, char *path) {
}
int main(int argc, char **argv) {
+ int done = 0;
init_daemon(1, "/");
syslog(LOG_NOTICE, "pullreqd started.");
- for (;;) {
+ for (; !done;) {
break;
}
syslog(LOG_NOTICE, "pullreqd stopped.");