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
父節點 2301da6e6f
當前提交 0ef6297bfc
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 063938BA42CFA724

查看文件

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