aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/ClientFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ClientFile.cxx')
-rw-r--r--src/client/ClientFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientFile.cxx b/src/client/ClientFile.cxx
index eba64d09c..3ea8034d2 100644
--- a/src/client/ClientFile.cxx
+++ b/src/client/ClientFile.cxx
@@ -41,7 +41,7 @@ Client::AllowFile(Path path_fs, Error &error) const
instance */
return true;
- if (uid <= 0) {
+ if (uid < 0) {
/* unauthenticated client */
error.Set(ack_domain, ACK_ERROR_PERMISSION, "Access denied");
return false;