Permalink
Browse files

updated the regular for openssh version

  • Loading branch information...
liseen committed Aug 26, 2011
1 parent 0f70433 commit 363e320a7ac0ed92749177522c93f1b28eed4e59
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/atnodes
View
@@ -319,7 +319,7 @@ sub check_openssh_version ($) {
my $ssh_cmd = shift;
my $version_info = `$ssh_cmd -V 2>&1`;
- if ($version_info && $version_info =~ /^OpenSSH_([\d\.]+)/) {
+ if ($version_info && $version_info =~ /^OpenSSH_(\d+\.\d+)/) {
my $v = $1;
if ($v && $v < 4.1) {
die "OpenSSH version $v, should be >= 4.1!\n";

0 comments on commit 363e320

Please sign in to comment.