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') {