This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdrive. commit 57743ebdda1d4dbfe27dd6f02b5217243f6416e1 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri Aug 27 23:43:13 2021 +0200 x2gokdriveinit.c: Add mode compat cmdline options so that x2gokdrive does not choke on nxagent-style cmdline options. --- x2gokdriveinit.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/x2gokdriveinit.c b/x2gokdriveinit.c index 343c1f5..3468077 100644 --- a/x2gokdriveinit.c +++ b/x2gokdriveinit.c @@ -256,6 +256,61 @@ ddxProcessArgument(int argc, char **argv, int i) UseMsg(); exit(1); } + else if (!strcmp(argv[i], "-clipboard")) + { + if ((i + 1) < argc) + { + /* compat with nxagent */ + return 2; + } + + UseMsg(); + exit(1); + } + else if (!strcmp(argv[i], "-nomagicpixel")) + { + if ((i + 1) < argc) + { + /* compat with nxagent */ + return 2; + } + + UseMsg(); + exit(1); + } + else if (!strcmp(argv[i], "-autodpi")) + { + if ((i + 1) < argc) + { + /* compat with nxagent */ + return 2; + } + + UseMsg(); + exit(1); + } + else if (!strcmp(argv[i], "-autograb")) + { + if ((i + 1) < argc) + { + /* compat with nxagent */ + return 2; + } + + UseMsg(); + exit(1); + } + else if (!strcmp(argv[i], "-keystrokefile")) + { + if ((i + 1) < argc) + { + /* compat with nxagent */ + return 2; + } + + UseMsg(); + exit(1); + } else if (!strcmp(argv[i], "-D")) { /* compat with nxagent */ return 1; -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git