From 2b09417b8ca76689f147f1097806af9820cfc9b8 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Fri, 28 Sep 2007 21:42:45 +0000 Subject: the \ must stay in the string! --- lib/Smokeping/probes/SSH.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Smokeping/probes') diff --git a/lib/Smokeping/probes/SSH.pm b/lib/Smokeping/probes/SSH.pm index 4bcad76..5b71e9b 100644 --- a/lib/Smokeping/probes/SSH.pm +++ b/lib/Smokeping/probes/SSH.pm @@ -136,7 +136,7 @@ sub targetvars { }, port => { _doc => "Port to use when testing the ssh connection -p I", - _re => "\d+", + _re => '\d+', _example => '5000', _default => '22', }, -- cgit v1.2.3-24-g4f1b