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