change from a to ab

This commit is contained in:
Marc Mance
2024-08-02 16:49:52 -04:00
parent 24d8abd60a
commit c628eb7e0e

View File

@@ -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()