From 8e3e4c3651c35acbde65ba614f4d80ec568009bd Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Mon, 25 Jul 2016 20:35:38 -0400 Subject: [PATCH] cmd: gomtree no arguments my tar_stream_tar_time PR accidentally put the functionality for when gomtree has no arguments inside an unreachable block. Signed-off-by: Stephen Chung --- cmd/gomtree/main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 } }