Fail the command on any non-zero value
Fail the command on any non-zero value

This check makes more sense and the previous one was copied verbatim from the aws provider provided as reference by Hashicorp

oracle/terraform-provider-baremetal,oracle/terraform-provider-baremetal