Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 21:22:05 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 21:22:05 +0200
commitdb2e5d721cbfc9009b617a4c4b0bc3d54b158f65 (patch)
treefc8fdec1d6141dbb91808dd3dd9e6fdace1ced1d /examples
parentad2adec8343a1cf8dfcd68e472d8dc4720717038 (diff)
Revert to a some what default sig-kill handler. (needs some adjustments just to clean up things, but I think it will do for now)
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index b3df07d7..7cec99a3 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -183,6 +183,8 @@ for i in range(5, 0, -1):
SIG_TRIGGER = False
signal.signal(signal.SIGINT, sig_handler)
print()
+signal.signal(signal.SIGINT, kill_handler)
+
"""
Setup the blockdevice, filesystem (and optionally encryption).
Once that's done, we'll hand over to perform_installation()