summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2001-01-13 21:52:09 +0000
committerDerick Rethans <derick@php.net>2001-01-13 21:52:09 +0000
commit1104639d0a53faa9f3f240b91456cd52759a8a1e (patch)
tree35ad653def6eba042e95ea65150c04b6b56f7a51 /ext/standard/exec.c
parent707e7bd938e8c263a4baac7b04810ae5a3acba42 (diff)
downloadphp-git-1104639d0a53faa9f3f240b91456cd52759a8a1e.tar.gz
- There was one ret left, changed it to FG(pclose_ret), this fixes the
build
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c2
1 files changed, 1 insertions, 1 deletions
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