diff --git a/cmd/gomtree/main.go b/cmd/gomtree/main.go index 705c41c..680a34e 100644 --- a/cmd/gomtree/main.go +++ b/cmd/gomtree/main.go @@ -223,12 +223,12 @@ func main() { fmt.Printf("%s missing\n", missingpath) } } - } else { - log.Println("neither validating or creating a manifest. Please provide additional arguments") - isErr = true - defer os.Exit(1) - return } + } else { + log.Println("neither validating or creating a manifest. Please provide additional arguments") + isErr = true + defer os.Exit(1) + return } }