From a134a326b8b1391029222dfe232537500215279f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 30 Jul 2013 17:06:22 -0700 Subject: [PATCH] communicator/ssh: log when remote exits --- communicator/ssh/communicator.go | 1 + 1 file changed, 1 insertion(+) diff --git a/communicator/ssh/communicator.go b/communicator/ssh/communicator.go index 3af09e1d0..6f729e9f6 100644 --- a/communicator/ssh/communicator.go +++ b/communicator/ssh/communicator.go @@ -87,6 +87,7 @@ func (c *comm) Start(cmd *packer.RemoteCmd) (err error) { } } + log.Printf("remote command exited with '%d': %s", exitStatus, cmd.Command) cmd.SetExited(exitStatus) }()