check auth_proxy return value properly
This commit is contained in:
parent
11f10a6cb9
commit
78378021c8
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ xauth(void)
|
||||||
return;
|
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");
|
sysfatal("authproxy: %r");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue