summaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
authorGravatar default2025-01-05 15:27:51 +0100
committerGravatar default2025-01-05 15:27:51 +0100
commitd479352548e05c057df3d6fe191a4c438be41b0e (patch)
tree17cfa29e75703d573603ef08848280ec9cb9d0ee /sandbox.c
parentUpdated documentation. (diff)
downloadsnac2-d479352548e05c057df3d6fe191a4c438be41b0e.tar.gz
snac2-d479352548e05c057df3d6fe191a4c438be41b0e.tar.xz
snac2-d479352548e05c057df3d6fe191a4c438be41b0e.zip
Fixed crash in sandbox code under OpenBSD.
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sandbox.c b/sandbox.c
index f6f8d67..e579f70 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -126,7 +126,6 @@ void sbox_enter(const char *basedir)
126 126
127 pledge(p, NULL); 127 pledge(p, NULL);
128 128
129 xs_free(p);
130#elif defined (__linux__) 129#elif defined (__linux__)
131 130
132 if (sbox_enter_linux_(basedir, address, smail) == 0) 131 if (sbox_enter_linux_(basedir, address, smail) == 0)