This commit is contained in:
Brian Buller 2017-09-07 07:01:47 -05:00
parent ba613fe15f
commit 8d9019e01b

View File

@ -366,7 +366,7 @@ func (b *DB) GetValueList(path []string) ([]string, error) {
var ret []string var ret []string
if !b.dbIsOpen { if !b.dbIsOpen {
if err = b.OpenDB(); err != nil { if err = b.OpenDB(); err != nil {
return err return ret, err
} }
defer b.CloseDB() defer b.CloseDB()
} }