kopia lustrzana https://github.com/cyoung/stratux
fixed reading of longer settings file
rodzic
6800e71652
commit
db5bcdbe25
|
@ -1269,7 +1269,7 @@ func readSettings() {
|
|||
return
|
||||
}
|
||||
defer fd.Close()
|
||||
buf := make([]byte, 1024)
|
||||
buf := make([]byte, 2048)
|
||||
count, err := fd.Read(buf)
|
||||
if err != nil {
|
||||
log.Printf("can't read settings %s: %s\n", configLocation, err.Error())
|
||||
|
|
Ładowanie…
Reference in New Issue