Exit code 0 if we were just told to stop by Docker

This commit is contained in:
Sander Saares 2020-01-22 09:55:23 +02:00 committed by GitHub
parent 39fe0b0bca
commit ed4b1ca1be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,9 +50,8 @@ namespace DockerExporter
else
{
_log.Error("Unexpected cancellation/timeout halted execution.");
Environment.ExitCode = -1;
}
Environment.ExitCode = -1;
}
catch (Exception ex)
{