Skip to content

Commit

Permalink
fix: exit code 1 when error
Browse files Browse the repository at this point in the history
  • Loading branch information
hareku committed Nov 14, 2024
1 parent e662788 commit 0e8454a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/fanbox-dl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ func main() {
if err := run(); err != nil {
slog.Error("fanbox-dl Error", "error", err)
slog.Error("The error log seems a bug, please open an issue on GitHub", "url", "https://github.com/hareku/fanbox-dl/issues")
os.Exit(1)
}
os.Exit(0)
}
Expand Down

0 comments on commit 0e8454a

Please sign in to comment.