Skip to content

Commit

Permalink
fix: forge ping returns an exit code when ping fails
Browse files Browse the repository at this point in the history
  • Loading branch information
zeisss committed Jun 3, 2024
1 parent 67d876b commit a4a6a72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func printHumanPingError(w io.Writer, authenticated bool, response []byte, err e
if err != nil {
fmt.Fprintln(w, "ERROR:", err)
}
os.Exit(1)
}

func printJSONPingResult(w io.Writer, result PingCommandResult) {
Expand Down

0 comments on commit a4a6a72

Please sign in to comment.