extrahd: fix uuid emtpy string check.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 21 Apr 2011 09:08:14 +0000 (11:08 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 21 Apr 2011 09:08:14 +0000 (11:08 +0200)
html/cgi-bin/extrahd.cgi

index fa12dbe..3bb6afd 100644 (file)
@@ -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 <<END
                                <form method='post' action='$ENV{'SCRIPT_NAME'}'>