From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] index.cgi: Fix CPU architecture check Date: Sat, 19 Sep 2020 16:13:51 +0000 Message-ID: <20200919161351.10140-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7589239549516567239==" List-Id: --===============7589239549516567239== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Michael Tremer --- html/cgi-bin/index.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index 8e7207d0c..5aec4c594 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -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 .= "
  • $Lang::tr{'legacy architecture warning'}
  • "; } -- 2.20.1 --===============7589239549516567239==--