From 3a8e7ffb938af35ae1448015569169e43563be2c Mon Sep 17 00:00:00 2001 From: TheUbMunster <66451362+TheUbMunster@users.noreply.github.com> Date: Thu, 28 Jul 2022 17:57:56 -0600 Subject: [PATCH] Changed "Running (pid)" to "Server Running on (pid)" --- Server/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/Program.cs b/Server/Program.cs index 57b6ef9..a35910f 100644 --- a/Server/Program.cs +++ b/Server/Program.cs @@ -554,7 +554,7 @@ CommandHandler.RegisterCommand("restartserver", args => consoleLogger.Info("Received restartserver command"); restartRequested = true; cts.Cancel(); - return "restarting..."; + return "Restarting..."; } }); @@ -589,7 +589,7 @@ if (restartRequested) //need to do this here because this needs to happen after const string unableToStartMsg = "Unable to ascertain the executable location, you'll need to re-run the server manually."; if (path != null) //path is probably just "Server", but in the context of the assembly, that's all you need to restart it. { - Console.WriteLine($"Running (pid): {System.Diagnostics.Process.Start(path)?.Id.ToString() ?? unableToStartMsg}"); + Console.WriteLine($"Server Running on (pid): {System.Diagnostics.Process.Start(path)?.Id.ToString() ?? unableToStartMsg}"); } else consoleLogger.Info(unableToStartMsg);