fix: false when 0

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-01-09 21:19:37 +00:00
parent dc59275850
commit 1b7cac7148

View File

@ -72,7 +72,7 @@ func dbExists(path string) (bool, error) {
} }
if stat.Size() == 0 { if stat.Size() == 0 {
return true, nil return false, nil
} }
return true, nil return true, nil