diff --git a/cmd/radioctl/radioctl.go b/cmd/radioctl/radioctl.go index a7eb83a093bcb68ccd754bef85cf38a81f1e5910..c0310824c4ed3687663bc0840615de54f23fcd4b 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!") }