[project @ 2005-11-11 14:41:01 by simonmar]
[ghc-base.git] / cbits / runProcess.c
index a0c2453..b89e130 100644 (file)
@@ -216,7 +216,7 @@ int waitForProcess (ProcHandle handle)
     else
        if (WIFSIGNALED(wstat))
        {
-           errno = EINTR;
+           return wstat;
        }
        else
        {