From: Ben Pfaff Date: Thu, 25 Aug 2011 00:00:46 +0000 (-0700) Subject: ovs.daemon: Fix name of EALREADY error. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0003748f584e6ba4747437ac7ebf4fe254f1be91;p=openvswitch ovs.daemon: Fix name of EALREADY error. Found by pychecker. --- diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py index 7bd7370e..d4e4bf11 100644 --- a/python/ovs/daemon.py +++ b/python/ovs/daemon.py @@ -415,7 +415,7 @@ def __read_pidfile(pidfile, delete_if_stale): raced = True if raced: logging.warning("%s: lost race to delete pidfile" % pidfile) - return -errno.ALREADY + return -errno.EALREADY # We won the right to delete the stale pidfile. try: