Project

General

Profile

« Previous | Next » 

Revision e016ce52

Added by David Sorber almost 8 years ago

Add some debug to checker.py script.

View differences:

software/misc/checker.py
# Parse out the 'state' line
raid_state = raw_out[11][18:].strip()
if raid_state != 'clean':
errors.append('/dev/{:s} not in "clean" state'.format(device))
errors.append('/dev/{:s} not in "clean" state ({:s})'
.format(device, raid_state))
output.extend(raw_out)

Also available in: Unified diff