[X2Go-Commits] [x2gokdrive] 01/01: x2gokdriveinit.c: Only init remote selection code on initial server generation.

git-admin at x2go.org git-admin at x2go.org
Sun Jul 14 17:20:27 CEST 2019


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

x2go pushed a commit to branch master
in repository x2gokdrive.

commit 771fc106725a8e15ead8c84ad95ec10b6be70d7e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Jul 14 17:20:16 2019 +0200

    x2gokdriveinit.c: Only init remote selection code on initial server generation.
---
 x2gokdriveinit.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x2gokdriveinit.c b/x2gokdriveinit.c
index c449b13..60f4240 100644
--- a/x2gokdriveinit.c
+++ b/x2gokdriveinit.c
@@ -64,7 +64,10 @@ InitCard(char *name)
 void
 InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)
 {
-    remote_selection_init();
+    if (serverGeneration == 1)
+    {
+        remote_selection_init();
+    }
 
     KdInitOutput(pScreenInfo, argc, argv);
 }

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list