Properly defer a client cleanup in case of a pnic
This commit is contained in:
parent
abb51ebb35
commit
adb533fd3e
|
@ -5,6 +5,7 @@ import "github.com/mitchellh/packer/packer"
|
||||||
type Command byte
|
type Command byte
|
||||||
|
|
||||||
func (Command) Run(env packer.Environment, arg []string) int {
|
func (Command) Run(env packer.Environment, arg []string) int {
|
||||||
|
env.Ui().Say("YO!")
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue