fabric/main.go
ALX99 e8d5fba256 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]
2024-08-23 22:35:29 +09:00

17 lines
176 B
Go

package main
import (
"fmt"
"os"
"github.com/danielmiessler/fabric/cli"
)
func main() {
_, err := cli.Cli()
if err != nil {
fmt.Printf("%s\n", err)
os.Exit(1)
}
}