fix: correct os.Exit code from -1 to 1 in main.go

As per the os.Exit documentation, the exit code should be in the rage
[0, 125]
This commit is contained in:
ALX99 2024-08-23 22:34:44 +09:00
parent 9a0444db7e
commit e8d5fba256

View File

@ -11,6 +11,6 @@ func main() {
_, err := cli.Cli()
if err != nil {
fmt.Printf("%s\n", err)
os.Exit(-1)
os.Exit(1)
}
}