Merge branch 'master' of git.dolda2000.com:/srv/git/r/ashd
[ashd.git] / src / callfcgi.c
index 9969c89..1abe7d3 100644 (file)
@@ -801,7 +801,7 @@ int main(int argc, char **argv)
     signal(SIGINT, sigexit);
     signal(SIGTERM, sigexit);
     mustart(listenloop, 0);
-    atexit(killcuraddr);
     ioloop();
+    killcuraddr();
     return(0);
 }