diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2018-09-18 08:51:09 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2018-09-21 11:32:30 -0400 |
commit | ba151950b1faff07afb1302bf770569f4eb9c7d0 (patch) | |
tree | 384611ebc2ebd78486395825b9c892bb8be2111a /etc/evergreen.yml | |
parent | 9947327e88bc43f187d235c44f79492dfb00bf0f (diff) | |
download | mongo-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.yml | 2 |
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" |