updated killswitch

This commit is contained in:
Marc Mance
2024-04-30 15:55:37 -04:00
parent 33e32e118e
commit 8860809dfc
2 changed files with 2 additions and 13 deletions

View File

@@ -322,9 +322,7 @@ if __name__ == "__main__":
args = parser.parse_args()
TIMETORUN = args.minutes
print("Script started.")
try:
run_zpool_iostat(INTERVAL, COUNT, OUTPUT_FILE, UPDATE_INTERVAL, TIMETORUN)
except Exception as e:
print(f"An error occurred: {e}")
print("Script ended.")