updated pool scrub test

This commit is contained in:
Marc Mance
2025-04-03 18:56:09 -04:00
parent c3df939c6f
commit 02d01581f3

View File

@@ -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...")