mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-12 01:44:21 +00:00
Avoid uninitialized value warnings in main.pm
If LANGUAGE isn't specified we wind up using undefined in string eq, which perl warns about. So let's avoid that by falling back to "". Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
56b443176a
commit
e9de5f28a3
2
main.pm
2
main.pm
@ -252,7 +252,7 @@ sub _load_early_postinstall_tests {
|
||||
_load_instance("tests/_graphical_input", $instance);
|
||||
}
|
||||
|
||||
if (get_var("LANGUAGE") eq "japanese" || get_var("LANGUAGE") eq "arabic") {
|
||||
if (get_var("LANGUAGE", "") eq "japanese" || get_var("LANGUAGE", "") eq "arabic") {
|
||||
_load_instance("tests/check_default_fonts", $instance);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user