mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-24 22:34:21 +02:00
3ware-status: fix a nasty typo
This commit is contained in:
parent
98672a7cc9
commit
d892a1c8a9
@ -134,7 +134,7 @@ for controller in controllerlist:
|
||||
cmd = binarypath+' info '+controller+' '+disk[0]+' status'
|
||||
status = getOutput(cmd)[0].split(' = ')[1].strip()
|
||||
if not status == 'OK':
|
||||
bad = Truei
|
||||
bad = True
|
||||
nagiosbaddisk=nagiosbaddisk+1
|
||||
else:
|
||||
nagiosgooddisk=nagiosgooddisk+1
|
||||
|
Loading…
x
Reference in New Issue
Block a user