Commit 718bb23b authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

interrupted read triggers fallback

parent b9fd92a8
......@@ -92,7 +92,7 @@ if mode == 'a' then
io.stderr:write('New firewall configuration activated\n')
io.stderr:write('Press RETURN to commit changes permanently: ')
io.read()
interrupted = not io.read()
signal.signal('SIGCHLD', 'default')
signal.kill(pid, 'SIGTERM')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment