summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2018-09-18 08:51:09 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2018-09-20 17:38:10 -0400
commit693520e52214c72a12efd132d2274d4d32bc2f21 (patch)
tree4b486993169550c8730dc8a7dae41626318d9ff2 /etc
parent30e55781d8e4e2860b778b4b57c31323f5a774a5 (diff)
downloadmongo-693520e52214c72a12efd132d2274d4d32bc2f21.tar.gz
SERVER-36842 Trap error when printing informational message
(cherry picked from commit 790cdfebf736064d3ab1368ce3a5c9bde71ef7c0)
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index b5ac0cd1175..8cdf7c701e2 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -2244,6 +2244,8 @@ functions:
if [ "Windows_NT" = "$OS" ]; then
exit 0
fi
+ # Always exit successfully, as this is just informational.
+ trap 'echo "Trapped exit code $?, exiting with 0"; exit 0' EXIT
# Print the ulimit & kernel.core_pattern
cmds="uptime"
cmds="$cmds; ulimit -a"