Skip to content

Commit ebcfa04

Browse files
authored
Merge pull request #142 from DeterminateSystems/gustavderdrache/push-twmsvkkqknuk
Address ifdef problem with macOS/BSD sandboxing
2 parents 2374da5 + 8e21e61 commit ebcfa04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstore/unix/user-lock.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ bool useBuildUsers()
197197
#ifdef __linux__
198198
static bool b = (settings.buildUsersGroup != "" || settings.autoAllocateUids) && isRootUser();
199199
return b;
200-
#elif defined(__APPLE__) && defined(__FreeBSD__)
200+
#elif defined(__APPLE__) || defined(__FreeBSD__)
201201
static bool b = settings.buildUsersGroup != "" && isRootUser();
202202
return b;
203203
#else

0 commit comments

Comments
 (0)