summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2018-09-18 08:51:09 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2018-09-18 08:51:09 -0400
commit790cdfebf736064d3ab1368ce3a5c9bde71ef7c0 (patch)
tree2348de073f82b7bec710ec3ee58d5d6f5d9a7a43
parent4253bfb1bbda2429cb8d59a316a0bd10f6473504 (diff)
downloadmongo-790cdfebf736064d3ab1368ce3a5c9bde71ef7c0.tar.gz
SERVER-36842 Trap error when printing informational message
-rw-r--r--etc/evergreen.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 1cd0fbd778e..cbdfb6d1112 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -2341,6 +2341,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"