diff ServerMonitor/Objects/Checks/SshCheck.cs @ 39:7645122aa7a9

Get it working under Mono
author Brad Greco <brad@bgreco.net>
date Tue, 09 Jun 2020 20:59:00 -0400
parents 68d7834dc28e
children
line wrap: on
line diff
--- a/ServerMonitor/Objects/Checks/SshCheck.cs	Sun Sep 15 21:01:14 2019 -0400
+++ b/ServerMonitor/Objects/Checks/SshCheck.cs	Tue Jun 09 20:59:00 2020 -0400
@@ -117,7 +117,7 @@
             {
                 try
                 {
-                    Regex re = new Regex(CommandOutputPattern);
+                    new Regex(CommandOutputPattern);
                 }
                 catch (ArgumentException)
                 {