Import Data.ByteString.Lazy, improve ByteString Fusion, and resync with FPS head
[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
        {