qrexec: fix arguments handling

Don't parse options for local command as qrexec-client-vm's own options.

Fixes QubesOS/qubes-issues#3762
This commit is contained in:
Marek Marczykowski-Górecki 2018-03-30 22:54:38 +02:00
orang tua 2301da6e6f
melakukan 0ef6297bfc
Tidak diketahui kunci yang ditemukan di database signature
GPG Key ID: 063938BA42CFA724

Melihat File

@ -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) {