fix logging
This commit is contained in:
4
main.go
4
main.go
@@ -49,8 +49,8 @@ func main() {
|
||||
log.Fatalf("WowDir in %s is still the default setting, exiting", cfgPath)
|
||||
}
|
||||
|
||||
stats, err := epoch.Update(config.WowDir, forceFlag, config.RemoveUnknownPatches, false)
|
||||
if err != nil {
|
||||
stats := epoch.Update(config.WowDir, forceFlag, config.RemoveUnknownPatches, false)
|
||||
if stats.Error != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user