Watch for grandparent ssh termination by default.
authorScott <[email protected]>
Sun, 23 Jan 2022 00:57:12 +0000 (16:57 -0800)
committerScott <[email protected]>
Sun, 23 Jan 2022 00:57:12 +0000 (16:57 -0800)
remote_worker.py

index 42aeb854ce633b47e1f1be85b40bce8bf8d436f6..211b2132ff07c8ef0caa54b4b68e89e3fe7c8caf 100755 (executable)
@@ -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?'
 )