summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/logic/slbt_exec_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c
index 58bec79..728ff65 100644
--- a/src/logic/slbt_exec_compile.c
+++ b/src/logic/slbt_exec_compile.c
@@ -110,5 +110,5 @@ int slbt_exec_compile(
fclose(fout);
slbt_free_exec_ctx(actx);
- return 0;
+ return (ret > 0) ? 0 : -1;
}