]> Cypherpunks.ru repositories - goredo.git/blobdiff - run.go
Remove closing of already closed file
[goredo.git] / run.go
diff --git a/run.go b/run.go
index 2fed7cf10824b9ae19912c0b3bb5e56929b7dbf4..f6a9042d192dd9316239c99660b3db42a0b61f6d 100644 (file)
--- a/run.go
+++ b/run.go
@@ -473,7 +473,6 @@ func runScript(tgtOrig string, errs chan error, traced bool) error {
                                if err == nil && !inode.Equals(inodePrev) {
                                        runErr.Err = errors.New("$1 was explicitly touched")
                                        errs <- runErr
-                                       fd.Close()
                                        return
                                }
                        }