fsck returns a hash of versions instead of string

This commit is contained in:
Javi Fontan authored and Ruben S. Montero committed 2017-07-27 10:57:16 +02:00
1 parent 6606f9fc58
commit 091b76ec24
1 file changed
+1
+1
View File
@@ -76,6 +76,7 @@ class OneDBBacKEnd
if !version
if self.respond_to?(:db_version)
version = db_version
version = version[:local_version] if Hash === version
else
version = LATEST_DB_VERSION
end