Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
qianlifeng committed Apr 28, 2024
1 parent a807206 commit 896212e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wox/util/single_instance/single_instance_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func lock(content string) error {

file, err := os.OpenFile(filename, os.O_CREATE|os.O_EXCL|os.O_WRONLY, 0600)
if err != nil {
return nil, err
return err
}

_, err = file.WriteString(content)
Expand Down

0 comments on commit 896212e

Please sign in to comment.