Added a more verbose message when db.lck exists
This commit is contained in:
Anna 2018-10-13 18:57:40 +01:00 committed by GitHub
commit a565544712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)