From fac5261ee3d0b1826e128d07aa482d4a863ee446 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 21 Apr 2011 11:08:14 +0200 Subject: [PATCH] extrahd: fix uuid emtpy string check. --- html/cgi-bin/extrahd.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/extrahd.cgi b/html/cgi-bin/extrahd.cgi index fa12dbed46..3bb6afd8de 100644 --- a/html/cgi-bin/extrahd.cgi +++ b/html/cgi-bin/extrahd.cgi @@ -202,7 +202,7 @@ END foreach $partitionentry (sort @partitions) { @partitionline = split( /\;/, $partitionentry ); - if (( "$partitionline[0]" =~ /^$scanline[0]/ ) && !( "$partitionline[2]" == "" )) { + if (( "$partitionline[0]" =~ /^$scanline[0]/ ) && !( "$partitionline[2]" eq "" )) { $size = int($partitionline[1] / 1024); print < -- 2.39.5