From 74c70979b1c63f3070ccdafc1e0580330a3e7cfc Mon Sep 17 00:00:00 2001 From: "Thomas \"Cakeisalie5\" Touhey" Date: Sat, 28 Jan 2017 13:03:41 +0100 Subject: [PATCH] That doesn't mean you shouldn't exit, heh. --- src/p7os/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/p7os/main.c b/src/p7os/main.c index d1d73db..b915f06 100644 --- a/src/p7os/main.c +++ b/src/p7os/main.c @@ -107,7 +107,10 @@ fail: default: log(error_unplanned, p7_strerror(err)); } - /* closing, removing if necessary */ + /* closing the handle */ + p7_exit(handle); + + /* closing the file, removing if necessary */ if (args.localpath) { fclose(args.local); remove(args.localpath);