diff --git a/launch/launch/launch_service.py b/launch/launch/launch_service.py index b6f7c99a7..25e44f5ec 100644 --- a/launch/launch/launch_service.py +++ b/launch/launch/launch_service.py @@ -316,7 +316,7 @@ def _on_sigint(signum, frame): def _on_sigterm(signum, frame): # Ignore additional signals until we finish processing this one. - prev_handler = signal.signal(signal.SIGINT, signal.SIG_IGN) + prev_handler = signal.signal(signal.SIGTERM, signal.SIG_IGN) if prev_handler is signal.SIG_IGN: # This function has been called re-entrantly. return