Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cynix committed Jun 23, 2023
1 parent 487a65a commit a874667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func doAll(files []string, decrypt, test bool) []string {

var o *os.File
if !test {
o, err := os.OpenFile(of, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, s.Mode())
o, err = os.OpenFile(of, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, s.Mode())
if err != nil {
fmt.Printf("Failed to open: %v\n", err)
failed = append(failed, f)
Expand Down

0 comments on commit a874667

Please sign in to comment.