From 7196ec52177b5b009d3d2b099caf23a88b4693d5 Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Thu, 12 May 2016 10:53:57 -0700 Subject: [PATCH] Use $CERTSPOTTER_STATE_DIR to specify state directory --- cmd/certspotter/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")