Commit Diff


commit - 11f10a6cb911ab328337aa06f9f051c77f1ecf55
commit + 78378021c859b15a94fa21c75ab380d08a3594fb
blob - 01c05e642487bf54e00b4405e34e37ed00de5673
blob + 0ae458cd1e42d9f05c80b1d5e653c22590d5f60c
--- src/cmd/srv.c
+++ 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");
 }