From ed4b1ca1be43fcaf2d0f62a1486cec692e46ab1a Mon Sep 17 00:00:00 2001 From: Sander Saares Date: Wed, 22 Jan 2020 09:55:23 +0200 Subject: [PATCH] Exit code 0 if we were just told to stop by Docker --- Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index 9888d58..51771f2 100644 --- a/Program.cs +++ b/Program.cs @@ -50,9 +50,8 @@ namespace DockerExporter else { _log.Error("Unexpected cancellation/timeout halted execution."); + Environment.ExitCode = -1; } - - Environment.ExitCode = -1; } catch (Exception ex) {