Ticket #15: megaraid-status.diff

File megaraid-status.diff, 308 bytes (added by sistemas@…, 2 years ago)

Patch to fix the bug

  • megaraid-status

    old new  
    8989        bad = True 
    9090 
    9191for disk in disklist: 
    92     if not disk[-1] == 'online': 
     92    if not ( disk[-1] == 'online' or disk[-1] == 'hotspare' ): 
    9393        bad = True 
    9494 
    9595if bad: