summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 68d7e1e8..eed87e5d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -244,7 +244,7 @@ int main(int argc, char * const *argv)
}
ret = nft_parse(scanner, &state);
- if (ret < 0)
+ if (ret != 0)
goto out;
memset(&ctx, 0, sizeof(ctx));