Merge branch 'master' of ssh://rootserver/home/lennart/git/public/libdaemon
diff --git a/libdaemon/dexec.c b/libdaemon/dexec.c
index 9a780f4..3aadf9c 100644
--- a/libdaemon/dexec.c
+++ b/libdaemon/dexec.c
@@ -182,6 +182,7 @@
             if (sig != SIGCHLD) {
                 daemon_log(LOG_WARNING, "Killing child.");
                 kill(pid, SIGTERM);
+                break;
             }
         }
     }