diff options
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 83188534796..443da073337 100644 --- a/src/process.c +++ b/src/process.c @@ -1917,7 +1917,7 @@ Return non-nil iff we received any output before the timeout expired.") { CHECK_NUMBER (timeout, 1); seconds = XINT (timeout); - if (seconds <= 0) + if (seconds < 0 || (seconds == 0 && useconds == 0)) seconds = -1; } else |
