diff options
-rwxr-xr-x | bin/custodian-enqueue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/custodian-enqueue b/bin/custodian-enqueue index 8c1cb71..c53adc4 100755 --- a/bin/custodian-enqueue +++ b/bin/custodian-enqueue @@ -284,7 +284,7 @@ class MonitorConfig new_line = "#{pre} must run ping #{post}" return( parse_line( new_line ) ) - elsif ( line =~ /\s+must\s+run\s+([^\s]+)\s+/i ) + elsif ( line =~ /\s+must\s+run\s+([^\s]+)(\s+|\.)/i ) # # Get the service we're testing, and remove any trailing "." |