From c628eb7e0edf260dc09bdce4f02c6ddd76b46cd8 Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Fri, 2 Aug 2024 16:49:52 -0400 Subject: [PATCH] change from a to ab --- collect.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/collect.py b/collect.py index c761b49..8e56dd4 100644 --- a/collect.py +++ b/collect.py @@ -442,7 +442,7 @@ def main(): "15s", ] - gstatData = open("gstat.csv", "a") + gstatData = open("gstat.csv", "ab") gstatError = open("gstat.err", "a") # with as output_file: @@ -456,7 +456,6 @@ def main(): # # kill gstat if freebsd if is_freebsd(): process.terminate() - process.kill() gstatData.flush() gstatError.flush() @@ -469,7 +468,6 @@ def main(): # kill gstat if freebsd if is_freebsd(): process.terminate() - process.kill() gstatData.flush() gstatError.flush()