diff --git a/collect.py b/collect.py index 15f433e..9783b06 100644 --- a/collect.py +++ b/collect.py @@ -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...")