mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-05-29 21:44:23 +00:00
GitHub issue #58 - options after path on command line were ignored, fixed.
This commit is contained in:
parent
66a38a9e7c
commit
77c58e741d
4
main.cpp
4
main.cpp
@ -615,9 +615,7 @@ int main(int argc,char **argv)
|
|||||||
if (homeDir) {
|
if (homeDir) {
|
||||||
printHelp(argv[0],stdout);
|
printHelp(argv[0],stdout);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
} else homeDir = argv[i];
|
||||||
homeDir = argv[i];
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((!homeDir)||(strlen(homeDir) == 0))
|
if ((!homeDir)||(strlen(homeDir) == 0))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user