From 4ba1125b8f538fc26ee6a7b71f2a62de6b25208a Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sat, 9 Nov 2013 11:54:23 +0000
Subject: [PATCH] fix logic error

---
 cmd/radioctl/radioctl.go | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/cmd/radioctl/radioctl.go b/cmd/radioctl/radioctl.go
index a7eb83a0..c0310824 100644
--- a/cmd/radioctl/radioctl.go
+++ b/cmd/radioctl/radioctl.go
@@ -118,10 +118,7 @@ func createMount(args []string) {
 
 	// Check if the mount already exists.
 	client := getClient()
-	oldm, err := client.GetMount(path)
-	if err != nil {
-		log.Fatal(err)
-	}
+	oldm, _ := client.GetMount(path)
 	if oldm != nil {
 		log.Fatal("A mount with that name already exists!")
 	}
-- 
GitLab