bliss

KISS in Lua
git clone git://bvnf.space/bliss.git
Log | Files | Refs | README | LICENSE

commit 32724d609c139695156e60d529d8a6ab58d86627
parent 2436e78f7ace9dd9f1124a57376b87261b12f307
Author: phoebos <ben@bvnf.space>
Date:   Sun, 16 Jul 2023 18:47:59 +0100

utils.trap_off: ignore SIGINT

trap_off is a bit of a misnomer

Diffstat:
Mbliss/utils.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bliss/utils.lua b/bliss/utils.lua @@ -115,7 +115,7 @@ function trap_on(env) end function trap_off(env) - signal.signal(signal.SIGINT, signal.SIG_DFL) + signal.signal(signal.SIGINT, signal.SIG_IGN) setmetatable(env.atexit, {}) end