We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6539d4 commit d2b19efCopy full SHA for d2b19ef
pkg/ccl/cliccl/flags.go
@@ -42,7 +42,7 @@ func (f *requireFipsFlag) Set(s string) error {
42
// this behavior globally (PersistentPreRun functions don't help because
43
// they are inherited across different levels of the command hierarchy only
44
// if that level does not have its own hook).
45
- if v && fips140.Enabled() {
+ if v && !fips140.Enabled() {
46
err := errors.WithHint(errors.New("FIPS readiness checks failed"), "Run `cockroach debug enterprise-check-fips` for details")
47
clierror.OutputError(os.Stderr, err, true, false)
48
exit.WithCode(exit.UnspecifiedError())
0 commit comments