From c01b85af05db437275d3ef40810a40ab31b05033 Mon Sep 17 00:00:00 2001 From: Junius Gao Date: Thu, 27 Oct 2022 10:58:18 +0800 Subject: [utilities] Enhance timeout mechanism Enhance on timeout mechanism. Force the parent process to exit when it has a deadlock child. Signed-off-by: Junius Gao --- bin/sos | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/sos b/bin/sos index 179b2d26..323c6ec6 100755 --- a/bin/sos +++ b/bin/sos @@ -20,5 +20,6 @@ except KeyboardInterrupt: if __name__ == '__main__': sos = SoS(sys.argv[1:]) sos.execute() + os._exit(0) # vim:ts=4 et sw=4 -- cgit