diff --git a/wrapper-scripts/aacraid-status b/wrapper-scripts/aacraid-status index 12d1562..7b88ce0 100644 --- a/wrapper-scripts/aacraid-status +++ b/wrapper-scripts/aacraid-status @@ -65,7 +65,7 @@ def returnArrayIds(output): ids = [] for line in output: if re.match(r'^Logical [Dd]evice number [0-9]+$',line.strip()): - ids.append(re.sub(r'^Logical [Dd]evice number', line).strip()) + ids.append(re.sub(r'^Logical [Dd]evice number', '', line).strip()) return ids def returnArrayInfo(output, ctrl_id='?'):