ogg_afh.c: Kill unused vi_bitrate_nominal
[paraslash.git] / signal.c
index 2d40d49..f9b95f9 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -89,7 +89,7 @@ pid_t para_reap_child(void)
        if (pid <= 0) {
                if (pid < 0)
                        pid = -E_WAITPID;
-               return 0;
+               return pid;
        }
        if (WIFEXITED(status))
                PARA_DEBUG_LOG("child %i exited. Exit status: %i\n", pid,