mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
GitHub issue #58 - options after path on command line were ignored, fixed.
This commit is contained in:
parent
66a38a9e7c
commit
77c58e741d
1 changed files with 1 additions and 3 deletions
4
main.cpp
4
main.cpp
|
@ -615,9 +615,7 @@ int main(int argc,char **argv)
|
|||
if (homeDir) {
|
||||
printHelp(argv[0],stdout);
|
||||
return 0;
|
||||
}
|
||||
homeDir = argv[i];
|
||||
break;
|
||||
} else homeDir = argv[i];
|
||||
}
|
||||
}
|
||||
if ((!homeDir)||(strlen(homeDir) == 0))
|
||||
|
|
Loading…
Add table
Reference in a new issue