diff options
author | midipix <writeonce@midipix.org> | 2016-03-20 10:39:04 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-03-20 10:39:04 -0400 |
commit | fa3d12b8b87586ca414cd7707845834168bc3a49 (patch) | |
tree | 2a3aa6cdeae3d86150d077e8bcd99f060d3883c3 | |
parent | ba3523b6bcb3322f666b755924138423d2d77760 (diff) | |
download | slibtool-fa3d12b8b87586ca414cd7707845834168bc3a49.tar.bz2 slibtool-fa3d12b8b87586ca414cd7707845834168bc3a49.tar.xz |
slbt_exec_compile(): fix return code path.
-rw-r--r-- | src/logic/slbt_exec_compile.c | 2 |
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; } |