Przeglądaj źródła

Added a more verbose message when db.lck exists

Peter Dyer 6 lat temu
rodzic
commit
145a1393b5
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      exec.go

+ 3 - 1
exec.go

@@ -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)