diff --git a/cmd/cammount/cammount.go b/cmd/cammount/cammount.go index 1ceb32b40..04e3cfa1e 100644 --- a/cmd/cammount/cammount.go +++ b/cmd/cammount/cammount.go @@ -82,6 +82,8 @@ func main() { log.Fatalf("Error parsing root blobref: %q\n", rootArg) } } + } else { + cl = client.NewOrFail() // automatic from flags } diskCacheFetcher, err := cacher.NewDiskCache(cl)