From 1104639d0a53faa9f3f240b91456cd52759a8a1e Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sat, 13 Jan 2001 21:52:09 +0000 Subject: [PATCH] - There was one ret left, changed it to FG(pclose_ret), this fixes the build --- ext/standard/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 27c06793cb..5a494e664e 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -199,7 +199,7 @@ static int _Exec(int type, char *cmd, pval *array, pval *return_value) #if HAVE_SYS_WAIT_H if (WIFEXITED(FG(pclose_ret))) { - ret = WEXITSTATUS(FG(pclose_ret)); + FG(pclose_ret) = WEXITSTATUS(FG(pclose_ret)); } #endif -- 2.50.1