]> Cypherpunks.ru repositories - goredo.git/blobdiff - run.go
Proper case of variable name
[goredo.git] / run.go
diff --git a/run.go b/run.go
index 15628ddccfdf9d6ac9fc76d1f39618e977ac1750..816f962e25bc23a18f369872fc8730544078dd5a 100644 (file)
--- a/run.go
+++ b/run.go
@@ -371,7 +371,7 @@ func runScript(tgt *Tgt, errs chan error, forced, traced bool) error {
        var cmdName string
        var args []string
        if err = unix.Access(doFile.rel, unix.X_OK); err == nil {
-               cmdName = doFileT
+               cmdName = doFile.a
                args = make([]string, 0, 3)
        } else {
                cmdName = "/bin/sh"
@@ -640,7 +640,7 @@ func runScript(tgt *Tgt, errs chan error, forced, traced bool) error {
                                if StderrSilent {
                                        continue
                                }
-                               if MyPid == 0 {
+                               if MyPID == 0 {
                                        tracef(CNone, "%s", line)
                                } else {
                                        tracef(CNone, "%s %s", pid, line)