This commit is contained in:
guinux 2015-03-11 20:44:52 +01:00
parent 847a6bc559
commit 9af4a54b4f

View File

@ -85,7 +85,7 @@ namespace Pamac {
} }
private bool check_pacman_running () { 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 (locked) {
if (lockfile.query_exists () == false) { if (lockfile.query_exists () == false) {
locked = false; locked = false;