aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/srv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/srv.c')
-rw-r--r--src/cmd/srv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/srv.c b/src/cmd/srv.c
index 01c05e64..0ae458cd 100644
--- a/src/cmd/srv.c
+++ b/src/cmd/srv.c
@@ -141,7 +141,7 @@ xauth(void)
return;
}
- if(xauth_proxy(auth_getkey, "proto=p9any role=client %s", keypattern) < 0)
+ if(xauth_proxy(auth_getkey, "proto=p9any role=client %s", keypattern) == nil)
sysfatal("authproxy: %r");
}