Ubuntu Pastebin

Paste from zyga at Wed, 1 Jun 2016 10:52:24 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/cmd/snap/cmd_list.go b/cmd/snap/cmd_list.go
index bb76950..6e6faee 100644
--- a/cmd/snap/cmd_list.go
+++ b/cmd/snap/cmd_list.go
@@ -60,7 +60,7 @@ func listSnaps(args []string) error {
 	if err != nil {
 		return err
 	} else if len(snaps) == 0 {
-		fmt.Println(i18n.G("No snaps are installed yet. Try 'snap install hello-world'."))
+		fmt.Fprintln(Stdout, i18n.G("No snaps are installed yet. Try 'snap install hello-world'."))
 		return nil
 	}
 
Download as text