This commit is contained in:
Eelco Dolstra 2021-01-13 23:51:27 +01:00
parent d33eca8539
commit 28ef6ebf91

View file

@ -318,7 +318,7 @@ static int main_nix_daemon(int argc, char * * argv)
FdSource from(STDIN_FILENO); FdSource from(STDIN_FILENO);
FdSink to(STDOUT_FILENO); FdSink to(STDOUT_FILENO);
/* Auth hook is empty because in this mode we blindly trust the /* Auth hook is empty because in this mode we blindly trust the
standard streams. Limitting access to thoses is explicitly standard streams. Limiting access to those is explicitly
not `nix-daemon`'s responsibility. */ not `nix-daemon`'s responsibility. */
processConnection(openUncachedStore(), from, to, Trusted, NotRecursive, [&](Store & _){}); processConnection(openUncachedStore(), from, to, Trusted, NotRecursive, [&](Store & _){});
} }