From e470a304f8862e6ab6a13ac8159b4a82cad55b3a Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 2 Oct 2023 20:41:52 +0300 Subject: [PATCH] Remove duplicate check --- run.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/run.go b/run.go index a3e0fd6..1d03e06 100644 --- a/run.go +++ b/run.go @@ -669,16 +669,6 @@ func runScript(tgtOrig string, errs chan error, forced, traced bool) error { } } - if inodePrev != nil { - if inode, err := inodeFromFileByPath(path.Join(cwdOrig, tgt)); err == nil { - if !inode.Equals(inodePrev) { - runErr.Err = Err1WasTouched - errs <- runErr - return - } - } - } - // Does it produce both stdout and tmp? fiStdout, err := os.Stat(fdStdout.Name()) if err != nil { -- 2.44.0