From c62eea07ad75707fe606b0fcf51079745903263c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Wed, 1 Dec 2021 14:40:44 +0100 Subject: [PATCH] Fix variable assignment. --- lib/utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils.pm b/lib/utils.pm index 7ed709b0..adb3c3c3 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -1470,10 +1470,10 @@ sub desktop_login { # For Upgrade tests we will need to handle older releases, so we # fix the version number accordingly if (get_var("GUI_UPGRADE") == 1) { - $release = $version-1; + my $release = $version-1; } elsif (get_var("GUI_UPGRADE") == 2) { - $release = $version-2; + my $release = $version-2; } # For Gnome desktop if (get_var("DESKTOP") eq 'gnome') {