Skip to content

Commit

Permalink
Fixed issue with config file load
Browse files Browse the repository at this point in the history
  • Loading branch information
conor10 committed Aug 21, 2018
1 parent 8a6b3a5 commit a71365e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crux.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func main() {

for _, arg := range args[1:] {
if strings.Contains(arg, ".conf") {
err := config.LoadConfig(os.Args[0])
err := config.LoadConfig(arg)
if err != nil {
log.Fatalln(err)
}
Expand Down

0 comments on commit a71365e

Please sign in to comment.