Fix an err shadowing lint error

This commit is contained in:
joeduffy 2017-10-23 05:55:34 -07:00
parent a7d99a0c80
commit 0248b6c309

View file

@ -219,8 +219,8 @@ func RunCommand(t *testing.T, args []string, wd string, opts ProgramTestOptions)
for !finished {
time.Sleep(30 * time.Second)
if !finished {
_, err := fmt.Fprintf(opts.Stderr, "Still running command '%s' (%s)...\n", command, wd)
contract.IgnoreError(err)
_, stillerr := fmt.Fprintf(opts.Stderr, "Still running command '%s' (%s)...\n", command, wd)
contract.IgnoreError(stillerr)
}
}
}()