aboutsummaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-02-07 11:32:53 +0000
committerOmar Polo <op@omarpolo.com>2021-02-07 11:32:53 +0000
commit2564eddee41a526095cde194b13a1576cff6aef3 (patch)
treefe32a601aae59b56d50116e6e22c89e185b99745 /regress
parent809c4bd0f82ad417782895fef5ede4c7bf7db23e (diff)
add set -e to env script
It avoids some long sequences of "echo: IO error" when the client close the connection before EOF.
Diffstat (limited to 'regress')
-rwxr-xr-xregress/env2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/env b/regress/env
index 1d82989..d44783f 100755
--- a/regress/env
+++ b/regress/env
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+
printf "20 text/plain; lang=en\r\n"
cat <<EOF