Skip to content

Commit

Permalink
Fix copy-pasta
Browse files Browse the repository at this point in the history
  • Loading branch information
pdf committed Jan 7, 2018
1 parent 0011590 commit f1e5b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func doInstall(path, browser, extensionID string) error {
}
out, err := os.OpenFile(daemonPath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0755)
defer func() {
if e := in.Close(); err == nil && e != nil {
if e := out.Close(); err == nil && e != nil {
fmt.Println(e)
panic(e)
}
Expand Down

0 comments on commit f1e5b2b

Please sign in to comment.