diff --git a/cmd/certspotter/main.go b/cmd/certspotter/main.go index d0cf51f..918e883 100644 --- a/cmd/certspotter/main.go +++ b/cmd/certspotter/main.go @@ -24,7 +24,7 @@ import ( ) func DefaultStateDir () string { - if envVar := os.Getenv("CTWATCH_STATE_DIR"); envVar != "" { + if envVar := os.Getenv("CERTSPOTTER_STATE_DIR"); envVar != "" { return envVar } else { return cmd.DefaultStateDir("certspotter")