From d884d4ce74e3d2c582698c9b54b58b4529472a4e Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Mon, 18 Apr 2011 17:21:23 +0000 Subject: syncdaemon: fix swallowing of exit value Signed-off-by: Csaba Henk Signed-off-by: Anand Avati BUG: 2736 (gsyncd hangs if crash occurs in the non-main thread) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2736 --- xlators/features/marker/utils/syncdaemon/gsyncd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/features/marker/utils/syncdaemon/gsyncd.py b/xlators/features/marker/utils/syncdaemon/gsyncd.py index 27c91858e..17c450808 100644 --- a/xlators/features/marker/utils/syncdaemon/gsyncd.py +++ b/xlators/features/marker/utils/syncdaemon/gsyncd.py @@ -103,7 +103,7 @@ def main(): except: log_raise_exception(excont) finally: - finalize(excont.exval) + finalize(exval = excont.exval) def main_i(): rconf = {'go_daemon': 'should'} -- cgit