diff --git a/wrapper-scripts/megaclisas-status b/wrapper-scripts/megaclisas-status index f98e674..3d04388 100755 --- a/wrapper-scripts/megaclisas-status +++ b/wrapper-scripts/megaclisas-status @@ -1,5 +1,5 @@ #!/usr/bin/python -# $Id: megaclisas-status,v 1.70 2017/03/28 16:02:04 root Exp root $ +# $Id: megaclisas-status,v 1.71 2017/04/04 18:45:52 root Exp root $ # # Written by Adam Cecile # Modified by Vincent S. Cojot @@ -175,6 +175,8 @@ def returnUnConfDriveNumber(output): for line in output: if re.match(r'^Firmware state: Unconfigured.*$',line.strip()): confdrives += 1 + if re.match(r'^Firmware state: Hotspare.*$',line.strip()): + confdrives += 1 return int(confdrives) def returnControllerModel(output):