Woops, close the right fd
This commit is contained in:
@@ -725,7 +725,7 @@ func archiveLegacyConfig() {
|
|||||||
l.Warnf("Cannot archive config:", err)
|
l.Warnf("Cannot archive config:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer src.Close()
|
defer dst.Close()
|
||||||
|
|
||||||
l.Infoln("Archiving config.xml")
|
l.Infoln("Archiving config.xml")
|
||||||
io.Copy(dst, src)
|
io.Copy(dst, src)
|
||||||
|
|||||||
Reference in New Issue
Block a user