check auth_proxy return value properly
This commit is contained in:
parent
11f10a6cb9
commit
78378021c8
@ -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");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user