Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Fix: Close keyring file passed in as we just set the path to file and…
Browse files Browse the repository at this point in the history
… not pass in the open file
  • Loading branch information
geauxvirtual committed Oct 23, 2015
1 parent 87c940f commit a799ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulse.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,8 @@ func action(ctx *cli.Context) {
"keyringFile": keyringFile,
}).Fatal("can't open keyring path")
os.Exit(1)
defer file.Close()
}
file.Close()
log.Info("setting keyring file to: ", keyringFile)
c.SetKeyringFile(keyringFile)
}
Expand Down

0 comments on commit a799ad9

Please sign in to comment.