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:
parent
2301da6e6f
commit
0ef6297bfc
@ -113,7 +113,7 @@ int main(int argc, char **argv)
|
|||||||
int opt;
|
int opt;
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
opt = getopt_long(argc, argv, "", longopts, NULL);
|
opt = getopt_long(argc, argv, "+", longopts, NULL);
|
||||||
if (opt == -1)
|
if (opt == -1)
|
||||||
break;
|
break;
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
|
Loading…
Reference in New Issue
Block a user