Skip to content

Commit eba1366

Browse files
authored
ops: exit with error code if check_chainlist fails (#1102)
1 parent 661f3cf commit eba1366

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ops/cmd/check_chainlist/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package main
33
import (
44
"errors"
55
"fmt"
6+
"os"
67

78
"github.com/ethereum-optimism/superchain-registry/ops/internal/manage"
89
"github.com/ethereum-optimism/superchain-registry/ops/internal/output"
@@ -12,6 +13,7 @@ import (
1213
func main() {
1314
if err := mainErr(); err != nil {
1415
output.WriteNotOK("%v\n", err)
16+
os.Exit(1)
1517
}
1618
}
1719

0 commit comments

Comments
 (0)