Subversion Repositories camp_sysinfo_client_3

Rev

Rev 69 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69 Rev 235
Line 63... Line 63...
63
   push @result, "$CATEGORY\t$zpoolName\tlevel\t$temp[1]";
63
   push @result, "$CATEGORY\t$zpoolName\tlevel\t$temp[1]";
64
   shift @lines;
64
   shift @lines;
65
   my @out;
65
   my @out;
66
   while ( $temp = shift @lines ) {
66
   while ( $temp = shift @lines ) {
67
      @temp = split( "\t", $temp );
67
      @temp = split( "\t", $temp );
68
      push @out, $temp[1];
68
      push @out, $temp[1] if defined $temp[1];
69
   }
69
   }
70
   push @result, "$CATEGORY\t$zpoolName\tcomponents\t" . join( " ", @out );
70
   push @result, "$CATEGORY\t$zpoolName\tcomponents\t" . join( " ", @out );
71
   return join( "\n", @result ) . "\n";
71
   return join( "\n", @result ) . "\n";
72
}
72
}
73
 
73