mirror of
https://salsa.debian.org/mdosch/go-sendxmpp
synced 2024-11-15 00:15:10 +00:00
Changed output for wrong file permissions to also mention 400 as valid access rights.
This commit is contained in:
parent
f61c0edda0
commit
f4357fc51b
@ -68,7 +68,7 @@ func parseConfig(configPath string) (configuration, error) {
|
||||
permissions := strconv.FormatInt(int64(perm), 8)
|
||||
if permissions != "600" && permissions != "400" {
|
||||
return output, errors.New("Wrong permissions for " + configPath + ": " +
|
||||
permissions + " instead of 600.")
|
||||
permissions + " instead of 400 or 600.")
|
||||
}
|
||||
|
||||
// Open config file.
|
||||
|
Loading…
Reference in New Issue
Block a user