1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2024-11-25 17:45:39 +00:00

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 <schung@redhat.com>
This commit is contained in:
Stephen Chung 2016-07-25 20:35:38 -04:00
parent b0c1606133
commit 8e3e4c3651

View file

@ -223,12 +223,12 @@ func main() {
fmt.Printf("%s missing\n", missingpath) 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
} }
} }