updated pool scrub test
This commit is contained in:
@@ -58,8 +58,10 @@ def isPoolScrubbing():
|
|||||||
stdout, stderr = process.communicate()
|
stdout, stderr = process.communicate()
|
||||||
|
|
||||||
if process.returncode == 0: # Command executed successfully
|
if process.returncode == 0: # Command executed successfully
|
||||||
if re.search(grep_string, stdout, re.MULTILINE).group():
|
if re.search(grep_string, stdout, re.MULTILINE):
|
||||||
print("WARNING: Pool is SCRUBBING")
|
print("--------------------------")
|
||||||
|
print("WARNING: POOL is SCRUBBING")
|
||||||
|
print("--------------------------")
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
print("Checked for Pool Scrubbing; Good to Go...")
|
print("Checked for Pool Scrubbing; Good to Go...")
|
||||||
|
|||||||
Reference in New Issue
Block a user