diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2018-09-18 08:51:09 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2018-09-18 08:51:09 -0400 |
commit | 790cdfebf736064d3ab1368ce3a5c9bde71ef7c0 (patch) | |
tree | 2348de073f82b7bec710ec3ee58d5d6f5d9a7a43 /etc | |
parent | 4253bfb1bbda2429cb8d59a316a0bd10f6473504 (diff) | |
download | mongo-790cdfebf736064d3ab1368ce3a5c9bde71ef7c0.tar.gz |
SERVER-36842 Trap error when printing informational message
Diffstat (limited to 'etc')
-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 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" |