From 3cf176cd5d298a52166a5c3d047bf8f5ae72e506 Mon Sep 17 00:00:00 2001 From: Rafael Fourquet Date: Sun, 26 Oct 2025 16:39:22 +0300 Subject: [PATCH] Fix file's executable bit check --- run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.go b/run.go index b82293b..8a6e40c 100644 --- a/run.go +++ b/run.go @@ -375,7 +375,7 @@ func runScript(tgt *Tgt, errs chan error, forced, traced bool) error { // Prepare command line var cmdName string var args []string - if err = unix.Access(doFile.rel, unix.X_OK); err == nil { + if err = unix.Access(doFile.a, unix.X_OK); err == nil { cmdName = doFile.a args = make([]string, 0, 3) } else { -- 2.52.0