Merge pull request #263 from Code0x58/ssh-external-tidy

Stop quietly ignoring `--ssh-external` on Windows
This commit is contained in:
Kota Kanbe
2016-11-16 16:31:58 +09:00
committed by GitHub
3 changed files with 12 additions and 8 deletions

View File

@@ -154,6 +154,10 @@ func (p *PrepareCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{
c.Conf.SSHExternal = p.sshExternal
c.Conf.AssumeYes = p.assumeYes
logrus.Info("Validating Config...")
if !c.Conf.Validate() {
return subcommands.ExitUsageError
}
// Set up custom logger
logger := util.NewCustomLogger(c.ServerInfo{})