remove Label name on MS Windows.
git-svn-id: http://svn.centreon.com/trunk/plugins@3375 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
2b71ba02fe
commit
e2baa00362
|
@ -254,6 +254,12 @@ if (!$Size){
|
|||
}
|
||||
|
||||
if (($Size =~ /([0-9]+)/) && ($AllocationUnits =~ /([0-9]+)/)){
|
||||
|
||||
if ($hrStorageDescr =~ /\:/){
|
||||
my @tab = split(/\:/, $hrStorageDescr);
|
||||
$hrStorageDescr = $tab[0] . ":";
|
||||
}
|
||||
|
||||
if (!$Size){
|
||||
print "The number of the option -p is not a hard drive\n";
|
||||
exit $ERRORS{'CRITICAL'};
|
||||
|
|
Loading…
Reference in New Issue