summaryrefslogtreecommitdiff
path: root/bin/custodian-enqueue
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-14 08:20:49 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-14 08:20:49 +0000
commite170d7db1dbcea28ef14c341c81bf676839faa51 (patch)
tree3b4bd9e2a616d12beaaa5abbdb3f416b411aefde /bin/custodian-enqueue
parent4fe4e82b07f944300ef0fef8634cb075b23622e3 (diff)
Allow "must run xxx." - with no trailing whitespace
Diffstat (limited to 'bin/custodian-enqueue')
-rwxr-xr-xbin/custodian-enqueue2
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 "."