communicator/ssh: log when remote exits

pull/919/head
Mitchell Hashimoto 13 years ago
parent 8bffbb6f44
commit a134a326b8

@ -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)
}()

Loading…
Cancel
Save