mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
/var/db is for all of xBSD
This commit is contained in:
parent
086f21ed70
commit
0af18b164c
1 changed files with 2 additions and 2 deletions
|
@ -912,8 +912,8 @@ std::string OneService::platformDefaultHomePath()
|
||||||
return std::string("/Library/Application Support/ZeroTier/One");
|
return std::string("/Library/Application Support/ZeroTier/One");
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifdef __BSD__
|
||||||
// FreeBSD likes /var/db instead of /var/lib
|
// BSD likes /var/db instead of /var/lib
|
||||||
return std::string("/var/db/zerotier-one");
|
return std::string("/var/db/zerotier-one");
|
||||||
#else
|
#else
|
||||||
// Use /var/lib for Linux and other *nix
|
// Use /var/lib for Linux and other *nix
|
||||||
|
|
Loading…
Add table
Reference in a new issue