2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-23 14:57:06 +00:00

ovs.daemon: Fix name of EALREADY error.

Found by pychecker.
This commit is contained in:
Ben Pfaff
2011-08-24 17:00:46 -07:00
parent dbad9de126
commit 0003748f58

View File

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