Bladeren bron

qrexec: fix arguments handling

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

Fixes QubesOS/qubes-issues#3762
Marek Marczykowski-Górecki 6 jaren geleden
bovenliggende
commit
0ef6297bfc
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      qrexec/qrexec-client-vm.c

+ 1 - 1
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) {