From 0740fcc5648feea93b4e7813d925cb1a58e5dfc2 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 4 Jul 2020 12:25:15 -0400 Subject: [PATCH] Conditional for mimicking the presence of the host watchdog --- src/Tgstation.Server.Host/Server.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Server.cs b/src/Tgstation.Server.Host/Server.cs index 45b824bd39..45b37f2c74 100644 --- a/src/Tgstation.Server.Host/Server.cs +++ b/src/Tgstation.Server.Host/Server.cs @@ -21,7 +21,12 @@ namespace Tgstation.Server.Host public bool RestartRequested { get; private set; } /// - public bool WatchdogPresent => updatePath != null; + public bool WatchdogPresent => +#if WATCHDOG_FREE_RESTART + true; +#else + updatePath != null; +#endif /// /// The for the