diff --git a/sbin/hastctl/hastctl.c b/sbin/hastctl/hastctl.c index 80b4e49628b0..beb2fa13a648 100644 --- a/sbin/hastctl/hastctl.c +++ b/sbin/hastctl/hastctl.c @@ -487,7 +487,7 @@ main(int argc, char *argv[]) cfg->hc_controladdr); } /* ...and connect to hastd. */ - if (proto_connect(controlconn) < 0) { + if (proto_connect(controlconn, HAST_TIMEOUT) < 0) { pjdlog_exit(EX_OSERR, "Unable to connect to hastd via %s", cfg->hc_controladdr); }