diff options
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 0bc474d..6f73c77 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -1776,7 +1776,7 @@ static int slbt_exec_link_create_executable( &depsmeta, SLBT_SYSTEM_ERROR(dctx,dctx->cctx->output)); - if (chmod(dctx->cctx->output,0755)) + if (fchmodat(fdcwd,dctx->cctx->output,0755,0)) return slbt_exec_link_exit( &depsmeta, SLBT_SYSTEM_ERROR(dctx,dctx->cctx->output)); |