Found by pychecker.
---
 python/ovs/daemon.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py
index 7bd7370..d4e4bf1 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:
-- 
1.7.4.4

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to