]> git.tuebingen.mpg.de Git - dss.git/blobdiff - dss.c
run: Don't kill children twice.
[dss.git] / dss.c
diff --git a/dss.c b/dss.c
index 9390f48c9f8f16a810680b374050ae45ba6349b0..1d7f7fbdaf0115af5cbf9e43901cd0122c74fbb7 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -1301,9 +1301,7 @@ static int handle_signal(void)
        switch (sig) {
        case SIGINT:
        case SIGTERM:
-               kill_children();
-               ret = -E_SIGNAL;
-               break;
+               return -E_SIGNAL;
        case SIGHUP:
                ret = handle_sighup();
                break;