]> Cypherpunks.ru repositories - goredo.git/blobdiff - run.go
Remove duplicate check
[goredo.git] / run.go
diff --git a/run.go b/run.go
index a3e0fd65fb4ff8fc28d8805c1b91f073d49d2426..1d03e06612c4f7843b9d1363ca81f9012fcb8fcd 100644 (file)
--- 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 {