aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest8
1 files changed, 5 insertions, 3 deletions
diff --git a/test b/test
index c9aaef8..4fdfdbc 100755
--- a/test
+++ b/test
@@ -197,9 +197,11 @@ run() {
set +x
local rv=\$? i
if [ \$rv -eq 0 ]; then rv=1; fi
- echo "vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv"
- cat <"\$STDERR" >&2
- echo "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
+ if [ -s "\$STDERR" ]; then
+ echo "vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv"
+ cat <"\$STDERR" >&2
+ echo "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
+ fi
[ \$# -eq 0 ] || echo "Error: \$*" >&2
exit \$rv
}