qrexec: fixed qrexec_client getopt handling

This commit is contained in:
Rafal Wojtczuk 2011-07-05 11:04:44 +02:00
parent 9c7eb81a23
commit 703cedc708

View File

@ -223,7 +223,7 @@ int main(int argc, char **argv)
int just_exec = 0;
int connect_existing = 0;
char *local_cmdline = NULL;
while ((opt = getopt(argc, argv, "d:l:e")) != -1) {
while ((opt = getopt(argc, argv, "d:l:ec")) != -1) {
switch (opt) {
case 'd':
domname = strdup(optarg);