summaryrefslogtreecommitdiff
path: root/etc/evergreen.yml
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2018-09-18 08:51:09 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2018-09-21 11:32:30 -0400
commitba151950b1faff07afb1302bf770569f4eb9c7d0 (patch)
tree384611ebc2ebd78486395825b9c892bb8be2111a /etc/evergreen.yml
parent9947327e88bc43f187d235c44f79492dfb00bf0f (diff)
downloadmongo-ba151950b1faff07afb1302bf770569f4eb9c7d0.tar.gz
SERVER-36842 Trap error when printing informational message
(cherry picked from commit 790cdfebf736064d3ab1368ce3a5c9bde71ef7c0)
Diffstat (limited to 'etc/evergreen.yml')
-rw-r--r--etc/evergreen.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index c2ec1b429ef..4568dce7ddb 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1549,6 +1549,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"