mirror of https://github.com/eLvErDe/hwraid.git
aacraid-status: fails if not controller detected
This commit is contained in:
parent
c09a7cea67
commit
cbbafa309d
|
@ -225,6 +225,9 @@ else:
|
|||
cmd = '"%s" GETVERSION' % arcconfpath
|
||||
output = getOutput(cmd)
|
||||
controllernumber = returnControllerNumber(output)
|
||||
if not controllernumber:
|
||||
print '"arcconf" returned no controller, are you sure to have an Adaptec adapter?'
|
||||
sys.exit(3)
|
||||
|
||||
# List controllers
|
||||
if printcontroller:
|
||||
|
|
Loading…
Reference in New Issue