Skip to content
Snippets Groups Projects
Commit be398b6f authored by ale's avatar ale
Browse files

Fix a typo that prevented Icecast admin password from being set

parent ae875b25
No related branches found
No related tags found
1 merge request!1v2.0
......@@ -13,7 +13,7 @@ import (
// invocations.
func getAdminPassword(adminPwPath string) (string, error) {
data, err := ioutil.ReadFile(adminPwPath)
if err != nil {
if err == nil {
return strings.TrimSpace(string(data)), nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment