From: Scott Date: Sun, 23 Jan 2022 00:57:12 +0000 (-0800) Subject: Watch for grandparent ssh termination by default. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=fd4daa9557429e519fadd6e7e355fb625bad26cc;hp=7913fe84341dbadfd0fe56834cf2ae55b3535365;p=python_utils.git Watch for grandparent ssh termination by default. --- diff --git a/remote_worker.py b/remote_worker.py index 42aeb85..211b213 100755 --- a/remote_worker.py +++ b/remote_worker.py @@ -6,7 +6,6 @@ results. import logging import os -import platform import signal import threading import sys @@ -44,7 +43,7 @@ cfg.add_argument( cfg.add_argument( '--watch_for_cancel', action=argparse_utils.ActionNoYes, - default=False, + default=True, help='Should we watch for the cancellation of our parent ssh process?' )