summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/slbt_exec_link.c')
-rw-r--r--src/logic/slbt_exec_link.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 0d225c4..38aa5e6 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -495,10 +495,7 @@ static int slbt_exec_link_remove_file(
if (!(unlink(target)) || (errno == ENOENT))
return 0;
- if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT))
- strerror(errno);
-
- return -1;
+ return SLBT_SYSTEM_ERROR(dctx);
}
static int slbt_exec_link_create_dep_file(