diff --git a/services.go b/services.go index 237e491..e1d5d8a 100644 --- a/services.go +++ b/services.go @@ -56,7 +56,7 @@ func (s *Services) ConfigureSSH() error { if err := writeFile(`${HOME}/.ssh/config`, bfr.String()); err != nil { return err } - + if err := runCmd(`chmod 400 $HOME/.ssh/config`); err != nil { return err } @@ -74,7 +74,7 @@ func (s *Services) PushRepository() error { } log.Println("SSH connection good. Pushing repository") - if err := runCmd(fmt.Sprintf(`git remote add dokku '%v'`, remoteUrl); err != nil { + if err := runCmd(fmt.Sprintf(`git remote add dokku '%v'`, remoteUrl)); err != nil { return err }