fix: false when 0
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
parent
dc59275850
commit
1b7cac7148
@ -72,7 +72,7 @@ func dbExists(path string) (bool, error) {
|
||||
}
|
||||
|
||||
if stat.Size() == 0 {
|
||||
return true, nil
|
||||
return false, nil
|
||||
}
|
||||
|
||||
return true, nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user