X-Git-Url: http://git.maemo.org/git/?p=theonering;a=blobdiff_plain;f=src%2Ftheonering.py;h=1e06a1d0b3687f0d4f75acb5392a2a6329390f7f;hp=1bc74364ebbdee4e8560aee46d473d148482e2cc;hb=1c892d1b9bf14b28eb54ce3590ed2ee29d5e3d25;hpb=7ef94ca86f8728837ba08aef711118c284c3199c diff --git a/src/theonering.py b/src/theonering.py index 1bc7436..1e06a1d 100755 --- a/src/theonering.py +++ b/src/theonering.py @@ -63,7 +63,7 @@ def run_theonering(persist): gobject_utils.timeout_add_seconds(IDLE_TIMEOUT, timeout_cb) shutdown_callback = quit - signal.signal(signal.SIGTERM, quit) + signal.signal(signal.SIGTERM, lambda: quit) try: manager = connection_manager.TheOneRingConnectionManager(shutdown_func=shutdown_callback)