mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 12:03:44 +02:00
Improve missing authtoken error message
This commit is contained in:
parent
b8e23e6fcc
commit
3870f7af27
1 changed files with 9 additions and 9 deletions
2
one.cpp
2
one.cpp
|
@ -287,7 +287,7 @@ static int cli(int argc,char **argv)
|
|||
}
|
||||
#endif
|
||||
if (!authToken.length()) {
|
||||
fprintf(stderr,"%s: missing authentication token and authtoken.secret not found (or readable) in %s" ZT_EOL_S,argv[0],homeDir.c_str());
|
||||
fprintf(stderr,"%s: authtoken.secret not found or readable in %s (try again as root)" ZT_EOL_S,argv[0],homeDir.c_str());
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue