[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST] Debian: Avoid uninitialised string warn when getting host firmware property



Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 Osstest/Debian.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 8675922..a8b62ca 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -1169,7 +1169,7 @@ END
 
     preseed_microcode($ho,$sfx);
 
-    if (get_host_property($ho, "firmware") eq "uefi") {
+    if (get_host_property($ho, "firmware",'') eq "uefi") {
        die unless $ho->{Suite} =~ m/jessie/;
        # Prevent grub-install from making a new Debian boot entry, so
        # we always reboot from PXE. Debian bug #789798 proposes a
-- 
2.5.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.