packer-community / winrmcp

Copy files to a remote host using WinRM
MIT License
59 stars 31 forks source link

check execute error in cleanupContent #21

Closed mwhooker closed 7 years ago

mwhooker commented 7 years ago

There's an issue open against packer which seems to be a nil pointer exception on this call to Execute.

https://github.com/mitchellh/packer/issues/4390

This PR checks for an error, so we don't panic, and so that we know what went wrong.

mefellows commented 7 years ago

Err, yes, this looks sensible - thanks.