summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-08-24 17:00:46 -0700
committerBen Pfaff <blp@nicira.com>2011-08-25 11:07:22 -0700
commit0003748f584e6ba4747437ac7ebf4fe254f1be91 (patch)
tree595147740fbe7ebdcaa539e821e66e160fe32bc9 /python
parentdbad9de12613e835048cb53d6b39300fa05943d4 (diff)
downloadopenvswitch-0003748f584e6ba4747437ac7ebf4fe254f1be91.tar.gz
ovs.daemon: Fix name of EALREADY error.
Found by pychecker.
Diffstat (limited to 'python')
-rw-r--r--python/ovs/daemon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py
index 7bd7370ee..d4e4bf112 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: