summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_symlink_impl.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/internal/slibtool_symlink_impl.c b/src/internal/slibtool_symlink_impl.c
index 66788fe..50b2387 100644
--- a/src/internal/slibtool_symlink_impl.c
+++ b/src/internal/slibtool_symlink_impl.c
@@ -51,12 +51,13 @@ int slbt_create_symlink(
/* step output */
if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) {
- if ((dctx->cctx->mode == SLBT_MODE_LINK)
- && slbt_output_link(dctx,ectx))
- return -1;
-
- else if (slbt_output_install(dctx,ectx))
- return -1;
+ if (dctx->cctx->mode == SLBT_MODE_LINK) {
+ if (slbt_output_link(dctx,ectx))
+ return -1;
+ } else {
+ if (slbt_output_install(dctx,ectx))
+ return -1;
+ }
}
/* create symlink */