Fixed syntax error

This commit is contained in:
Leon Mika 2024-07-13 11:08:27 +10:00
parent ce4e5a69eb
commit 70c024b387

View file

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