Merge branch 'master' of https://github.com/hacdias/caddy-hugo
commit
bec1c3c510
|
@ -122,6 +122,13 @@ func GetPath() string {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(-1)
|
||||
}
|
||||
|
||||
err = os.Chmod(hugo, 0755)
|
||||
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(-1)
|
||||
|
|
Loading…
Reference in New Issue