Skip to content

Commit

Permalink
Fix exit error code
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptTiger committed Feb 11, 2024
1 parent 9555eb0 commit 4237824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flacsfx.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func main() {
_, err = fileWriter.Write(flacRaw)
if err != nil {
os.Stdout.WriteString("There was a problem writing the FLAC stream to the file.")
os.Exit(1)
os.Exit(4)
}
os.Exit(0)
}
Expand Down

0 comments on commit 4237824

Please sign in to comment.