Skip to content
Snippets Groups Projects
Commit fe1b63d3 authored by Florent Thiery's avatar Florent Thiery
Browse files

fix query path, refs #21547

parent 14800e80
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ def print_green(string): ...@@ -21,7 +21,7 @@ def print_green(string):
print(GREEN + string + DEF) print(GREEN + string + DEF)
def check_raid(dev): def check_raid(dev):
cmd = 'mdadm -D /dev/%s' % dev cmd = 'mdadm -D %s' % dev
status, output = subprocess.getstatusoutput(cmd) status, output = subprocess.getstatusoutput(cmd)
print(output) print(output)
return status != 0 return status != 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment