mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-29 03:33:24 +01:00
fix (#208): create an error message
This commit is contained in:
parent
a1c5f16729
commit
6b7c35f9cd
1 changed files with 1 additions and 0 deletions
|
|
@ -346,6 +346,7 @@ func (this Configuration) Save() Configuration {
|
|||
// deploy the config in our config.json
|
||||
file, err := os.Create(configPath)
|
||||
if err != nil {
|
||||
Log.Error("Filestash needs to be able to create/edit its own configuration which it can't at the moment. Change the permission for filestash to create and edit `%s`", configPath)
|
||||
return this
|
||||
}
|
||||
defer file.Close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue