Browse Source

/var/db is for all of xBSD

Adam Ierymenko 10 years ago
parent
commit
0af18b164c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      service/OneService.cpp

+ 2 - 2
service/OneService.cpp

@@ -912,8 +912,8 @@ std::string OneService::platformDefaultHomePath()
 	return std::string("/Library/Application Support/ZeroTier/One");
 #else
 
-#ifdef __FreeBSD__
-	// FreeBSD likes /var/db instead of /var/lib
+#ifdef __BSD__
+	// BSD likes /var/db instead of /var/lib
 	return std::string("/var/db/zerotier-one");
 #else
 	// Use /var/lib for Linux and other *nix