From 790cdfebf736064d3ab1368ce3a5c9bde71ef7c0 Mon Sep 17 00:00:00 2001 From: Jonathan Abrahams Date: Tue, 18 Sep 2018 08:51:09 -0400 Subject: SERVER-36842 Trap error when printing informational message --- etc/evergreen.yml | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.1