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 ca06fee1d8
commit b161688aad
1 changed files with 5 additions and 5 deletions

View File

@ -227,12 +227,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
}
}