From 535ba8a207f7cfc2ce6e8ba2e44442896ffffc29 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Wed, 9 May 2018 13:51:32 -0700 Subject: Consolidated powerpc64le machine types, added 32-bit powerpc machine type and a flag to disable use of Linux capabilities --- one.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'one.cpp') diff --git a/one.cpp b/one.cpp index 9ebc83c1..b770451c 100644 --- a/one.cpp +++ b/one.cpp @@ -972,7 +972,7 @@ static void _sighandlerQuit(int sig) #endif // Drop privileges on Linux, if supported by libc etc. and "zerotier-one" user exists on system -#ifdef __LINUX__ +#if defined(__LINUX__) && !defined(ZT_NO_CAPABILITIES) #ifndef PR_CAP_AMBIENT #define PR_CAP_AMBIENT 47 #define PR_CAP_AMBIENT_IS_SET 1 -- cgit v1.2.3