]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/index.cgi
index.cgi: Fix CPU architecture check
[ipfire-2.x.git] / html / cgi-bin / index.cgi
index 8e7207d0c97d25b655a1576b75f94dff8d6e84df..5aec4c594a5ef328fdf66359f830b84d8ee24c0d 100644 (file)
@@ -547,7 +547,7 @@ if ( ! -e "/var/ipfire/main/send_profile") {
 
 # Legacy architecture
 my ($sysname, $nodename, $release, $version, $machine) = &POSIX::uname();
-if ($machine =~ m/^i?86$/) {
+if ($machine =~ m/^i.86$/) {
        $warnmessage .= "<li>$Lang::tr{'legacy architecture warning'}</li>";
 }