This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit dd72855a78b27ede220a31988cffb004762d6b90
Author: Daniel Teichmann <daniel.teichm...@das-netzwerkteam.de>
Date:   Thu Aug 19 14:59:38 2021 +0200

    pyhoca-cli: Print debug message before exiting pyhoca-cli.
---
 pyhoca-cli | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pyhoca-cli b/pyhoca-cli
index 7dd9001a..3d02377e 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -441,9 +441,11 @@ if __name__ == '__main__':
 
     if not os.environ.get('DISPLAY'):
         logger('the display environment variable is unset, can\'t go on 
without a DISPLAY...', x2go.loglevel_ERROR, )
+        logger('exiting pyhoca-cli now.', x2go.loglevel_DEBUG, )
         sys.exit(1)
     elif not re.match("^.*:[0-9]+(|\.[0-9]+)$", os.environ.get('DISPLAY')):
         logger('the display environment variable\'s value is weird ({val}), 
can\'t go on with that...'.format(val=os.environ.get('DISPLAY')), 
x2go.loglevel_ERROR, )
+        logger('exiting pyhoca-cli now.', x2go.loglevel_DEBUG, )
         sys.exit(1)
     try:
 
@@ -454,6 +456,7 @@ if __name__ == '__main__':
         thisPyHocaCLI.authenticate()
         thisPyHocaCLI.MainLoop()
 
+        logger('exiting pyhoca-cli now.', x2go.loglevel_DEBUG, )
         sys.exit(0)
 
     except (KeyboardInterrupt, SystemExit) as e:

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to