From 0ef6297bfcec1a4e931f25d87bece70e228f6710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 30 Mar 2018 22:54:38 +0200 Subject: [PATCH] qrexec: fix arguments handling Don't parse options for local command as qrexec-client-vm's own options. Fixes QubesOS/qubes-issues#3762 --- qrexec/qrexec-client-vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrexec/qrexec-client-vm.c b/qrexec/qrexec-client-vm.c index 0ae7795..ff8a728 100644 --- a/qrexec/qrexec-client-vm.c +++ b/qrexec/qrexec-client-vm.c @@ -113,7 +113,7 @@ int main(int argc, char **argv) int opt; while (1) { - opt = getopt_long(argc, argv, "", longopts, NULL); + opt = getopt_long(argc, argv, "+", longopts, NULL); if (opt == -1) break; switch (opt) {