summaryrefslogtreecommitdiff
path: root/osdep
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2018-03-12 11:23:10 -0700
committerJoseph Henry <josephjah@gmail.com>2018-03-12 11:23:10 -0700
commitb4e25470522122b92c3cb310717f7ee07e7bf8c7 (patch)
tree9a227d0cc9aa568fab572423ba7a586062f7f057 /osdep
parent78d9cee4168ddccbdf6d6ea0eed05daa0dac92a4 (diff)
downloadinfinitytier-b4e25470522122b92c3cb310717f7ee07e7bf8c7.tar.gz
infinitytier-b4e25470522122b92c3cb310717f7ee07e7bf8c7.zip
Minor tweak to QNAP path getter
Diffstat (limited to 'osdep')
-rw-r--r--osdep/OSUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/OSUtils.cpp b/osdep/OSUtils.cpp
index aa531243..cadd4e6b 100644
--- a/osdep/OSUtils.cpp
+++ b/osdep/OSUtils.cpp
@@ -381,7 +381,7 @@ std::vector<std::string> OSUtils::split(const char *s,const char *const sep,cons
std::string OSUtils::platformDefaultHomePath()
{
#ifdef __QNAP__
- char *cmd = "/sbin/getcfg ZeroTier Install_Path -f /etc/config/qpkg.conf";
+ char *cmd = "/sbin/getcfg zerotier Install_Path -f /etc/config/qpkg.conf";
char buf[128];
FILE *fp;
if ((fp = popen(cmd, "r")) == NULL) {