Skip to content

Commit

Permalink
write to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
jbardin committed Jan 31, 2017
1 parent 2ac34b3 commit 95da56d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions builtin/provisioners/local-exec/resource_provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fmt"
"io"
"log"
"os"
"os/exec"
"runtime"

Expand Down Expand Up @@ -68,8 +69,8 @@ func applyFn(ctx context.Context) error {

//outputWriter := io.MultiWriter(output, pw)

cmd.Stderr = output
cmd.Stdout = output
cmd.Stderr = os.Stderr
cmd.Stdout = os.Stderr

log.SetFlags(log.Lmicroseconds)
log.Println("TESTING LOCAL EXEC")
Expand Down

0 comments on commit 95da56d

Please sign in to comment.