qrexec: fixed qrexec_client getopt handling
This commit is contained in:
parent
9c7eb81a23
commit
703cedc708
@ -223,7 +223,7 @@ int main(int argc, char **argv)
|
|||||||
int just_exec = 0;
|
int just_exec = 0;
|
||||||
int connect_existing = 0;
|
int connect_existing = 0;
|
||||||
char *local_cmdline = NULL;
|
char *local_cmdline = NULL;
|
||||||
while ((opt = getopt(argc, argv, "d:l:e")) != -1) {
|
while ((opt = getopt(argc, argv, "d:l:ec")) != -1) {
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
case 'd':
|
case 'd':
|
||||||
domname = strdup(optarg);
|
domname = strdup(optarg);
|
||||||
|
Loading…
Reference in New Issue
Block a user