fix #37 again
This commit is contained in:
parent
847a6bc559
commit
9af4a54b4f
@ -85,7 +85,7 @@ namespace Pamac {
|
||||
}
|
||||
|
||||
private bool check_pacman_running () {
|
||||
var lockfile = File.new_for_path ("/var/lib/pacman/db.lck");
|
||||
var lockfile = GLib.File.new_for_path ("/var/lib/pacman/db.lck");
|
||||
if (locked) {
|
||||
if (lockfile.query_exists () == false) {
|
||||
locked = false;
|
||||
|
Loading…
Reference in New Issue
Block a user