From 1838fe8fa6291e6d252ccef8cfb1340430400b1a Mon Sep 17 00:00:00 2001 From: mpl Date: Sun, 3 Mar 2013 21:50:06 +0100 Subject: [PATCH] cammount: fix for bug I introduced in 2384f368f6badeb2ebc078ba2d0b45f0cc320bb6 Change-Id: I81e85e65496113166e9716fc553475b4bf23b1b6 --- cmd/cammount/cammount.go | 2 ++ 1 file changed, 2 insertions(+) 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)