diff --git a/luaa.c b/luaa.c index e0db6622..2e55179e 100644 --- a/luaa.c +++ b/luaa.c @@ -944,10 +944,10 @@ luaA_cs_init(void) if(unlink(addr->sun_path)) warn("error unlinking existing file: %s", strerror(errno)); if(bind(csfd, (const struct sockaddr *) addr, SUN_LEN(addr))) - warn("error binding UNIX domain socket: %s", strerror(errno)); + return warn("error binding UNIX domain socket: %s", strerror(errno)); } else - warn("error binding UNIX domain socket: %s", strerror(errno)); + return warn("error binding UNIX domain socket: %s", strerror(errno)); } listen(csfd, 10);