aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/factotum/secstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/factotum/secstore.c')
-rw-r--r--src/cmd/factotum/secstore.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cmd/factotum/secstore.c b/src/cmd/factotum/secstore.c
index 14c855b1..d82d7862 100644
--- a/src/cmd/factotum/secstore.c
+++ b/src/cmd/factotum/secstore.c
@@ -22,7 +22,6 @@ int
secdial(void)
{
char *p;
- int fd;
p = secstore;
if(p == nil) /* else use the authserver */
@@ -32,10 +31,7 @@ secdial(void)
if(p == nil)
p = "secstore";
- fd = dial(netmkaddr(p, "net", "secstore"), 0, 0, 0);
- if(fd < 0)
- fprint(2, "secdial: %r\n");
- return fd;
+ return dial(netmkaddr(p, "net", "secstore"), 0, 0, 0);
}