--- src/run.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/run.c b/src/run.c index abe968f..bdf6b0b 100644 --- a/src/run.c +++ b/src/run.c @@ -116,7 +116,7 @@ init(void) /* local UNIX socket */ STATE(local) = local_server_create(&CONFIG(local)); - if (!STATE(local)) { + if (STATE(local) == -1) { dlog(LOG_ERR, "can't open unix socket!"); return -1; } - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html