-If passed 'Not Present', parsefru won't mess up now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
cb2e2bb2a5
commit
83d2b08c88
@ -2193,6 +2193,9 @@ sub parsefru {
|
||||
my $currsize; #store current size
|
||||
my $subidx;
|
||||
my @currarea;
|
||||
unless (ref $bytes) {
|
||||
return $bytes,undef;
|
||||
}
|
||||
unless ($bytes->[0]==1) {
|
||||
if ($bytes->[0]==0 or $bytes->[0]==0xff) { #not in spec, but probably unitialized, xCAT probably will rewrite fresh
|
||||
return "clear",undef;
|
||||
|
Loading…
x
Reference in New Issue
Block a user