summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2015-07-03 12:41:17 +0800
committerXuefer <xuefer@gmail.com>2015-07-03 12:45:06 +0800
commit749747211a61899b4330435d936486ab47459604 (patch)
tree3123b5fd96b8b2c188db00ff20bd88524549e715 /devel
parent71888baa014a116c80456d9d2465903065fa0002 (diff)
downloadxcache-749747211a61899b4330435d936486ab47459604.tar.gz
xcache-749747211a61899b4330435d936486ab47459604.zip
devel: shows exit status
Diffstat (limited to 'devel')
-rwxr-xr-xdevel/run4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/run b/devel/run
index fc98adc..98c6907 100755
--- a/devel/run
+++ b/devel/run
@@ -368,7 +368,9 @@ run() {
;;
*)
"$@" | tee output.php
- return ${PIPESTATUS[0]}
+ ret=${PIPESTATUS[0]}
+ echo exit = $ret >&2
+ return $ret
;;
esac
;;