mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
Small fix to CLI module.
This commit is contained in:
parent
7ec433a452
commit
15375ef6b9
1 changed files with 5 additions and 0 deletions
5
main.cpp
5
main.cpp
|
@ -149,6 +149,11 @@ static int main(int argc,char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
if (!command.length()) {
|
||||
printHelp(stdout,argv[0]);
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!authToken.length()) {
|
||||
const char *home = getenv("HOME");
|
||||
if (home) {
|
||||
|
|
Loading…
Add table
Reference in a new issue