aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-04-24 16:17:44 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-04-24 16:17:44 -0400
commit5570710481e3d2bff5fe914c7720ae62f9725fab (patch)
tree5c7ec27592b78ed5275a778e33ac9f888367252d /src/lib
parentf074cf9ea6d8ab8f2ad6681e8c2a39bcd32f7f0e (diff)
downloadstasis-5570710481e3d2bff5fe914c7720ae62f9725fab.tar.gz
Close fp_out before execl
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/core/system.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/core/system.c b/src/lib/core/system.c
index 5b47a62..8a6143c 100644
--- a/src/lib/core/system.c
+++ b/src/lib/core/system.c
@@ -90,6 +90,7 @@ int shell(struct Process *proc, char *args) {
}
_exit(1);
}
+ fclose(fp_out);
}
}