diff --git a/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm b/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm index 4a39e59dd..b5c884fea 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/tabutils.pm @@ -190,7 +190,7 @@ sub tabrestore { my $offset=1; my $nextchar; my $ent = ""; - while (not $ent) { + while ($ent eq "") { $offset = index($line,'"',$offset); $offset++; if ($offset <=0) {