diff --git a/builder/osc/bsu/builder.go b/builder/osc/bsu/builder.go index 4d27171c5..8a57a615c 100644 --- a/builder/osc/bsu/builder.go +++ b/builder/osc/bsu/builder.go @@ -81,5 +81,8 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe } func (b *Builder) Cancel() { - log.Println("[Debug] BSU Builder Run function") + if b.runner != nil { + log.Println("Cancelling the step runner...") + b.runner.Cancel() + } }