]> git.proxmox.com Git - mirror_ifupdown2.git/commitdiff
nlcache: remove special SIGINT handling
authorJulien Fortin <jfortin@nvidia.com>
Mon, 24 Oct 2022 20:21:07 +0000 (22:21 +0200)
committerJulien Fortin <jfortin@nvidia.com>
Thu, 4 May 2023 11:21:55 +0000 (13:21 +0200)
capturing sigint was causing ifquery to hang indefinitely on ctrl-c

Signed-off-by: Julien Fortin <jfortin@nvidia.com>
ifupdown2/lib/nlcache.py

index 32ff44eb12370f4f44dbf56f9a132b69ee5f1423..0b1c6d2b27e82c537f5003ef6e3a527a2aa3bdaa 100644 (file)
@@ -2020,7 +2020,7 @@ class NetlinkListenerWithCache(nllistener.NetlinkManagerWithListener, BaseObject
         BaseObject.__init__(self)
 
         signal.signal(signal.SIGTERM, self.signal_term_handler)
-        signal.signal(signal.SIGINT, self.signal_int_handler)
+        #signal.signal(signal.SIGINT, self.signal_int_handler)
 
         self.cache = _NetlinkCache()