diff options
| author | Csaba Henk <csaba@gluster.com> | 2011-07-12 21:59:24 +0200 |
|---|---|---|
| committer | Anand Avati <avati@gluster.com> | 2011-07-28 02:58:46 -0700 |
| commit | fa979753d9fe27c6338a0d384d0f183ea716003d (patch) | |
| tree | f66c9aea70e7e3225fa3dcf2b337a15d51bbefe2 /xlators/features/marker/utils/syncdaemon/syncdutils.py | |
| parent | 06af690050b5b0ca4da34d4c89fda3d3deffe908 (diff) | |
gsyncd: log exit properly
Change-Id: Iedd8c0ce9dec2d8dcb01e0e5b409cb53185b1716
BUG: 2778
Reviewed-on: http://review.gluster.com/82
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushik BV <kaushikbv@gluster.com>
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/syncdutils.py')
| -rw-r--r-- | xlators/features/marker/utils/syncdaemon/syncdutils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/syncdutils.py b/xlators/features/marker/utils/syncdaemon/syncdutils.py index 4bf51da74..49ef1662e 100644 --- a/xlators/features/marker/utils/syncdaemon/syncdutils.py +++ b/xlators/features/marker/utils/syncdaemon/syncdutils.py @@ -118,6 +118,8 @@ def finalize(*a, **kw): raise if gconf.ssh_ctl_dir and not gconf.cpid: shutil.rmtree(gconf.ssh_ctl_dir) + if gconf.log_exit: + logging.info("exiting.") sys.stdout.flush() sys.stderr.flush() os._exit(kw.get('exval', 0)) |
