diff options
-rw-r--r-- | src/rhlibrary/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rhlibrary/main.go b/src/rhlibrary/main.go index b40ce9a..8221091 100644 --- a/src/rhlibrary/main.go +++ b/src/rhlibrary/main.go @@ -42,7 +42,7 @@ var ( ) func init() { - // if _, exists := os.LookupEnv("RHRDLIBRARY_DEBUG"); exists { + // if _, exists := os.LookupEnv("RHLIBRARY_DEBUG"); exists { rhdl.SetOutput(os.Stderr) // } } @@ -67,8 +67,8 @@ func (s *envStringValue) Get() interface{} { return string(*s) } func (s *envStringValue) String() string { return fmt.Sprintf("%s", *s) } func main() { - rdconf := newEnvStringValue("RHRDLIBRARY_RD_CONF", "/etc/rd.conf") - flag.Var(rdconf, "rdconf", "path to the Rivendell config file (environment: RHRDLIBRARY_RD_CONF)") + rdconf := newEnvStringValue("RHLIBRARY_RD_CONF", "/etc/rd.conf") + flag.Var(rdconf, "rdconf", "path to the Rivendell config file (environment: RHLIBRARY_RD_CONF)") help := flag.Bool("help", false, "show usage") flag.Parse() |