[X2Go-Commits] [libx2goclient] 05/09: src/test/sshtest.c: fix argument "parsing".
git-admin at x2go.org
git-admin at x2go.org
Thu Aug 15 17:40:09 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository libx2goclient.
commit 49721420f1c3480923cb996d884a083a3bded1dd
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Aug 15 11:55:04 2019 +0200
src/test/sshtest.c: fix argument "parsing".
---
src/test/sshtest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/sshtest.c b/src/test/sshtest.c
index e429fc2..86ab603 100644
--- a/src/test/sshtest.c
+++ b/src/test/sshtest.c
@@ -51,7 +51,7 @@ int main (int argc, char **argv) {
g_printf (_("SSH testing utility for %s version %s\n\n"), _(PACKAGE_NAME), _(PACKAGE_VERSION));
GString *ssh_uri = NULL;
- if (argc != 1) {
+ if (argc != 2) {
g_fprintf (stderr, _("Error. Program needs exactly one argument: an SSH location specifier.\n"));
}
else {
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git
More information about the x2go-commits
mailing list