mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-23 22:04:23 +02:00
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…
x
Reference in New Issue
Block a user