aboutsummaryrefslogtreecommitdiff
path: root/src/proone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proone.c')
-rw-r--r--src/proone.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proone.c b/src/proone.c
index dae5fad..3f44b33 100644
--- a/src/proone.c
+++ b/src/proone.c
@@ -1162,6 +1162,8 @@ static bool init_shared_global (void) {
// Session init code goes here
prne_memzero(prne_s_g->upbin_path, sizeof(prne_s_g->upbin_path));
prne_memzero(prne_s_g->upbin_args, sizeof(prne_s_g->upbin_args));
+ prne_g.shm_fd = fd;
+ fd = -1;
}
END: