From 711f08f2bd294343d82d64c33bbd83e60cd85e10 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Thu, 5 Oct 2023 13:01:39 -0400 Subject: [PATCH] Fix weird log formatting in `ProcessExecutor` --- src/Tgstation.Server.Host/System/ProcessExecutor.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Tgstation.Server.Host/System/ProcessExecutor.cs b/src/Tgstation.Server.Host/System/ProcessExecutor.cs index 8c9f98bd65..3eb83ba522 100644 --- a/src/Tgstation.Server.Host/System/ProcessExecutor.cs +++ b/src/Tgstation.Server.Host/System/ProcessExecutor.cs @@ -95,8 +95,9 @@ namespace Tgstation.Server.Host.System throw new InvalidOperationException("Requesting output/error reading requires noShellExecute to be true!"); logger.LogDebug( - "{launchType}aunching process in {workingDirectory}: {exe} {arguments}", - noShellExecute ? "L" : "Shell l", + noShellExecute + ? "Launching process in {workingDirectory}: {exe} {arguments}" + : "Shell launching process in {workingDirectory}: {exe} {arguments}", workingDirectory, fileName, arguments);