diff --git a/src/client.c b/src/client.c index 2956dc80..03171da8 100644 --- a/src/client.c +++ b/src/client.c @@ -48,7 +48,7 @@ int client_connect(void) if (errno != ENOENT) warnx("Failed connecting to finit"); close(sd); - return -1; + sd = -1; } return sd;