From b656087a5cce499d8da7717be5665d2fe89491d6 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 3 Apr 2012 09:13:54 -0400 Subject: [PATCH] Last compile error --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 8109fd5..7cb55e7 100644 --- a/main.go +++ b/main.go @@ -30,7 +30,7 @@ func main() { fmt.Printf("Reading configuration from %v\n", *configPath) if len(*configPath) > 0 { *configPath = strings.Replace(*configPath, "~", "$HOME", 1) - *configPath = os.ShellExpand(*configPath) + *configPath = os.ExpandEnv(*configPath) error := config.ReadFromFile(*configPath, configuration) if error != nil { fmt.Printf("Error while reading configuration: %v\n", error) -- 2.43.5