mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
Fix ugly bug. #25
This commit is contained in:
1 parent
5a6ccb7259
commit
4afa3126e4
1 file changed
+1
-1
+1
-1
@@ -54,7 +54,7 @@ func OpenDB(path string) (Storage, error) {
|
||||
|
||||
// RecoverDB recovers LevelDB database from corruption
|
||||
func RecoverDB(path string) error {
|
||||
stor, err := storage.OpenFile("/Users/smira/.aptly/db/")
|
||||
stor, err := storage.OpenFile(path)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user