diff options
Diffstat (limited to 'appl/lib')
| -rw-r--r-- | appl/lib/factotum.b | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/appl/lib/factotum.b b/appl/lib/factotum.b index 97138fe1..d807705d 100644 --- a/appl/lib/factotum.b +++ b/appl/lib/factotum.b @@ -66,6 +66,10 @@ mount(fd: ref Sys->FD, mnt: string, flags: int, aname: string, keyspec: string): { ai: ref Authinfo; afd := sys->fauth(fd, aname); + if(debug && afd == nil){ + sys->print("fauth %s: %r\n", aname); + return (-1, nil); + } if(afd != nil){ ai = proxy(afd, open(), "proto=p9any role=client "+keyspec); if(debug && ai == nil){ |
