Merge branch 'fix-path-issues' of sloum/bombadillo into develop

This commit is contained in:
asdf 2019-10-29 06:03:51 -04:00 committed by Gitea
commit 25d1e13bba
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ import (
"io/ioutil"
"os"
"os/signal"
"path/filepath"
"strings"
"syscall"
@ -60,7 +61,7 @@ func saveConfig() error {
opts.WriteString(certs)
return ioutil.WriteFile(bombadillo.Options["configlocation"]+"/.bombadillo.ini", []byte(opts.String()), 0644)
return ioutil.WriteFile(filepath.Join(bombadillo.Options["configlocation"], ".bombadillo.ini"), []byte(opts.String()), 0644)
}
func validateOpt(opt, val string) bool {