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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user