diff --git a/sbin/upgrade.pl b/sbin/upgrade.pl index a11fdc022..c2b3f9c18 100644 --- a/sbin/upgrade.pl +++ b/sbin/upgrade.pl @@ -254,7 +254,7 @@ STOP # in order to be upgraded by this utility. #----------------------------------------- sub checkVersion { - $_[0] =~ /(\d+)\.(\d+).(\d+)/; + $_[0] =~ /(\d+)\.(\d+)\.(\d+)/; if ($1 > 3) { return 1; } elsif ($1 == 3) {