Added a more verbose message when db.lck exists

This commit is contained in:
Peter Dyer 2018-10-13 18:44:10 +01:00
parent 827dbd21cb
commit 145a1393b5

View File

@ -60,7 +60,9 @@ func waitLock() {
return
}
fmt.Print(bold(yellow(smallArrow)), " db.lck is present. Waiting...")
fmt.Println(bold(yellow(smallArrow)), filepath.Join(pacmanConf.DBPath, "db.lck"), "is present.")
fmt.Print(bold(yellow(smallArrow)), " There may be another Pacman instance running. Waiting...")
for {
time.Sleep(3 * time.Second)