summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-04-18 17:21:23 +0000
committerAnand Avati <avati@gluster.com>2011-04-19 02:30:03 -0700
commitd884d4ce74e3d2c582698c9b54b58b4529472a4e (patch)
tree83a13ca8c93d4206da74ade1e6c49e473300ebb8
parent8ac5926d11cb66c7ef226bb466604414593bab87 (diff)
syncdaemon: fix swallowing of exit value
Signed-off-by: Csaba Henk <csaba@lowlife.hu> Signed-off-by: Anand Avati <avati@gluster.com> 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
-rw-r--r--xlators/features/marker/utils/syncdaemon/gsyncd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/gsyncd.py b/xlators/features/marker/utils/syncdaemon/gsyncd.py
index 27c91858e0e..17c4508086e 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'}