aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 63822e94..661b60e0 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -215,5 +215,5 @@ main(int argc, char** argv)
serd_env_free(env);
serd_node_free(&base_uri_node);
- return (status == SERD_SUCCESS) ? 0 : 1;
+ return (status > SERD_FAILURE) ? 1 : 0;
}