parent
3ca2fe861f
commit
0910565e20
|
@ -66,6 +66,7 @@ func main() {
|
||||||
k := kconfig.New()
|
k := kconfig.New()
|
||||||
k.AppName = flagAppName
|
k.AppName = flagAppName
|
||||||
if flagFile != "" {
|
if flagFile != "" {
|
||||||
|
k.Load = func() []byte { return nil }
|
||||||
go func() {
|
go func() {
|
||||||
fi, err := os.Stat(flagFile)
|
fi, err := os.Stat(flagFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue