communicator/ssh: log when remote exits
This commit is contained in:
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…
Reference in New Issue