reorder early exits

This commit is contained in:
2025-06-07 10:06:20 -07:00
parent 3fab12d6f5
commit bdf8067bdc

View File

@ -45,10 +45,6 @@ func main() {
log.Fatalf("WowDir in %s is still the default setting, exiting", cfgPath)
}
if !updateOnlyFlag && config.LaunchCmd == defaultLaunchCmd {
log.Fatalf("LaunchCmd in %s is still the default setting, exiting\n", cfgPath)
}
count, err := downloadUpdate(config)
if err != nil {
log.Fatal(err)
@ -60,6 +56,10 @@ func main() {
os.Exit(0)
}
if config.LaunchCmd == defaultLaunchCmd {
log.Fatalf("LaunchCmd in %s is still the default setting, exiting\n", cfgPath)
}
fmt.Printf("Starting Epoch....\n", count)
switch runtime.GOOS {