summaryrefslogtreecommitdiff
diff options
authorJohn R. Lenton <jlenton@gmail.com>2016-09-09 13:22:44 +0100
committerJohn R. Lenton <jlenton@gmail.com>2016-09-10 15:34:53 +0100
commitd2357bfda04304d5946cd771ebfa9c3aac2e5836 (patch)
treefec2288741568a4a0e97acb98950c7c0e99971af
parent549851caa10d403ae0a7e9ccc02b8866ecf73966 (diff)
i18n.G does not like being given variables
-rw-r--r--cmd/snap/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/snap/main.go b/cmd/snap/main.go
index 1cad10b4d4..5f6841e768 100644
--- a/cmd/snap/main.go
+++ b/cmd/snap/main.go
@@ -236,7 +236,7 @@ func run() error {
}
// TRANSLATORS: %s will be a message along the lines of "login required"
- return fmt.Errorf(i18n.G(`%s (try with sudo)`), i18n.G(e.Message))
+ return fmt.Errorf(i18n.G(`%s (try with sudo)`), e.Message)
}
}