summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_compile.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-20 10:39:04 -0400
committermidipix <writeonce@midipix.org>2016-03-20 10:39:04 -0400
commitfa3d12b8b87586ca414cd7707845834168bc3a49 (patch)
tree2a3aa6cdeae3d86150d077e8bcd99f060d3883c3 /src/logic/slbt_exec_compile.c
parentba3523b6bcb3322f666b755924138423d2d77760 (diff)
downloadslibtool-fa3d12b8b87586ca414cd7707845834168bc3a49.tar.bz2
slibtool-fa3d12b8b87586ca414cd7707845834168bc3a49.tar.xz
slbt_exec_compile(): fix return code path.
Diffstat (limited to 'src/logic/slbt_exec_compile.c')
-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;
}