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:
parent
9a0444db7e
commit
e8d5fba256
2
main.go
2
main.go
@ -11,6 +11,6 @@ func main() {
|
||||
_, err := cli.Cli()
|
||||
if err != nil {
|
||||
fmt.Printf("%s\n", err)
|
||||
os.Exit(-1)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user