summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logic/slbt_exec_compile.c3
-rw-r--r--src/logic/slbt_exec_link.c5
2 files changed, 1 insertions, 7 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c
index 5e337bb..2612f4a 100644
--- a/src/logic/slbt_exec_compile.c
+++ b/src/logic/slbt_exec_compile.c
@@ -27,9 +27,6 @@ static int slbt_exec_compile_remove_file(
if (!(unlink(target)) || (errno == ENOENT))
return 0;
- if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT))
- strerror(errno);
-
return SLBT_SYSTEM_ERROR(dctx);
}
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(