Remove debug
authorRoy Marples <roy@marples.name>
Tue, 5 May 2015 23:03:29 +0000 (23:03 +0000)
committerRoy Marples <roy@marples.name>
Tue, 5 May 2015 23:03:29 +0000 (23:03 +0000)
src/dhcpcd-qt/dhcpcd-singleton.cpp

index baa17f820e534d85e1b33bc6c904d0a74feed26e..6ca87f78e6c1f110340bf45c19174884ffbba646 100644 (file)
@@ -68,7 +68,7 @@ bool DhcpcdSingleton::lock()
                return false;
        }
        if (flock(fd, LOCK_EX | LOCK_NB) == -1) {
-               if (errno != EAGAIN || 1 == 1)
+               if (errno != EAGAIN)
                        cerr << "dhcpcd-qt: " << "flock: " << file << ": "
                            << strerror(errno) << endl;
                return false;