remove unnecessary boolean operator

This commit is contained in:
Megan Marsh 2017-11-09 15:04:25 -08:00
parent e56a6dc9a0
commit 73b6247fd2
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ var waitForCommunicator = func(p *Provisioner) error {
return fmt.Errorf("Communicator wait canceled")
case <-time.After(retryableSleep):
}
if runCustomRestartCheck == true {
if runCustomRestartCheck {
// run user-configured restart check
err := cmdRestartCheck.StartWithUi(p.comm, p.ui)
if err != nil {