summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/slbt_exec_compile.c')
-rw-r--r--src/logic/slbt_exec_compile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c
index dca6e1e..7a934ab 100644
--- a/src/logic/slbt_exec_compile.c
+++ b/src/logic/slbt_exec_compile.c
@@ -155,8 +155,9 @@ int slbt_exec_compile(
/* .libs directory */
if (cctx->drvflags & SLBT_DRIVER_SHARED)
if (slbt_mkdir(dctx,ectx->ldirname)) {
+ ret = SLBT_SYSTEM_ERROR(dctx,ectx->ldirname);
slbt_free_exec_ctx(actx);
- return SLBT_SYSTEM_ERROR(dctx,ectx->ldirname);
+ return ret;
}
/* compile mode */