aboutsummaryrefslogtreecommitdiffstats
path: root/src/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal.c')
-rw-r--r--src/signal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/signal.c b/src/signal.c
index 9bd5228..232a4b7 100644
--- a/src/signal.c
+++ b/src/signal.c
@@ -177,6 +177,8 @@ static int l_suspend(lua_State* L)
sigset_t sset;
int first_arg = 1;
+ /* XXX: this should be moved out into a function so that mask() can also
+ * use it */
sigprocmask(0, NULL, &sset);
if (lua_isstring(L, 1)) {
const char* init;