Fixed syntax error
This commit is contained in:
parent
ce4e5a69eb
commit
70c024b387
|
@ -56,7 +56,7 @@ func (s *Services) ConfigureSSH() error {
|
||||||
if err := writeFile(`${HOME}/.ssh/config`, bfr.String()); err != nil {
|
if err := writeFile(`${HOME}/.ssh/config`, bfr.String()); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := runCmd(`chmod 400 $HOME/.ssh/config`); err != nil {
|
if err := runCmd(`chmod 400 $HOME/.ssh/config`); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ func (s *Services) PushRepository() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println("SSH connection good. Pushing repository")
|
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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue