[X2Go-Commits] [x2goserver] 01/17: x2goserver/bin/x2goruncommand: fix syntax.
git-admin at x2go.org
git-admin at x2go.org
Sun Jun 23 04:43:04 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit efa794ee390422dfd77afbc111fa265c649aa5d0
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Jun 21 23:43:59 2019 +0200
x2goserver/bin/x2goruncommand: fix syntax.
---
debian/changelog | 1 +
x2goserver/bin/x2goruncommand | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 30c4db5..2818943 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -86,6 +86,7 @@ x2goserver (4.1.0.4-0x2go1.1) UNRELEASED; urgency=medium
- x2goserver/bin/x2gostartagent: adapt debug message to ${AGENTBIN} usage.
- x2goserver/bin/x2gostartagent: also use ${AGENTBIN} in shadow session
code.
+ - x2goserver/bin/x2goruncommand: fix syntax.
* debian/control:
+ Build-depend upon lsb-release for distro version detection.
* debian/x2goserver.manpages:
diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index b6da198..34fcc81 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
@@ -360,7 +360,7 @@ if [ "$EXEC" != "" ] && [ -x "$EXEC" ]; then
x2gosetkeyboard >/dev/null 2>/dev/null &
- if x2gofeature X2GO_XSESSION &>/dev/null && [ ["x$X2GO_SESS_TYPE" = "xD"] || ["x$X2GO_SESS_TYPE" = "xK"] ] ; then
+ if x2gofeature X2GO_XSESSION &>/dev/null && ( [ "x$X2GO_SESS_TYPE" = "xD" ] || [ "x$X2GO_SESS_TYPE" = "xK" ] ); then
STARTUP="$cmd$args"
# Search for dbus-run-session and handle the non-existence (to some extent) gracefully.
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list