So what about adding
case $Node_Name in
/dev/*)
Raid_Name=$(dmraid -i -r -cr $Node_Name | grep -vi "No RAID disks" > | grep -vi "formats discovered")
break;;
esac
ou similar ?
> > As $Node_Name already contains "/dev", in my case dmraid is called with > parameters /dev/dev/sdb and /dev/dev/
So what about adding
case $Node_Name in
/dev/*)
Raid_Name=$(dmraid -i -r -cr $Node_Name | grep -vi "No RAID disks" > | grep -vi "formats discovered")
break;;
esac
ou similar ?
> > As $Node_Name already contains "/dev", in my case dmraid is called with > parameters /dev/dev/sdb and /dev/dev/
Package: nmon
Version: 14g
Signed-off-by: Thierry Fauck
/*
When N option is choosen, nmon sigsegfault because it tries to get
lenght of undefined string. There is no check of number of strings in
file before performing strlen.
Solution, add checking of current number of strings before
3 matches
Mail list logo