diff --git a/tst/passthrough-dotnet/Program.cs b/tst/passthrough-dotnet/Program.cs index f34c72a8..25e5d0ae 100644 --- a/tst/passthrough-dotnet/Program.cs +++ b/tst/passthrough-dotnet/Program.cs @@ -37,9 +37,9 @@ namespace passthrough class Program { - static int Main(string[] args) + static void Main(string[] args) { - return new PtfsService().Run(); + Environment.ExitCode = new PtfsService().Run(); } } }