[X2Go-Commits] [x2goclient] 21/74: do not hint to STRG-C functionality with --from-stdin option set
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:05:36 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.5.0.1
in repository x2goclient.
commit 825b50999110441eebcb81782cd79234344ae0c3
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sat Nov 10 20:42:38 2012 +0100
do not hint to STRG-C functionality with --from-stdin option set
---
pyhoca/cli/frontend.py | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/pyhoca/cli/frontend.py b/pyhoca/cli/frontend.py
index 0bffb014..63908e8f 100644
--- a/pyhoca/cli/frontend.py
+++ b/pyhoca/cli/frontend.py
@@ -499,12 +499,15 @@ class PyHocaCLI(x2go.X2goClient):
session_name = self._X2goClient__get_session_name(self.x2go_session_hash)
self._pyhoca_logger("X2Go session is now running, the X2Go client's profile name is: %s" % profile_name, loglevel=x2go.loglevel_INFO, )
self._pyhoca_logger("X2Go session name is: %s" % session_name, loglevel=x2go.loglevel_INFO, )
- if self.args.share_desktop:
- self._pyhoca_logger("Press CTRL+C to end desktop sharing for this session...", loglevel=x2go.loglevel_NOTICE, )
- elif self.args.terminate_on_ctrl_c:
- self._pyhoca_logger("Press CTRL+C to terminate the running session...", loglevel=x2go.loglevel_NOTICE, )
- else:
- self._pyhoca_logger("Press CTRL+C to suspend the running session...", loglevel=x2go.loglevel_NOTICE, )
+
+ if not self.args.from_stdin:
+
+ if self.args.share_desktop:
+ self._pyhoca_logger("Press CTRL+C to end desktop sharing for this session...", loglevel=x2go.loglevel_NOTICE, )
+ elif self.args.terminate_on_ctrl_c:
+ self._pyhoca_logger("Press CTRL+C to terminate the running session...", loglevel=x2go.loglevel_NOTICE, )
+ else:
+ self._pyhoca_logger("Press CTRL+C to suspend the running session...", loglevel=x2go.loglevel_NOTICE, )
try:
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list