projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dbad9de
)
ovs.daemon: Fix name of EALREADY error.
author
Ben Pfaff
<blp@nicira.com>
Thu, 25 Aug 2011 00:00:46 +0000
(17:00 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 25 Aug 2011 18:07:22 +0000
(11:07 -0700)
Found by pychecker.
python/ovs/daemon.py
patch
|
blob
|
history
diff --git
a/python/ovs/daemon.py
b/python/ovs/daemon.py
index 7bd7370ee253bb120f28cd33d333c0cb5f30468a..d4e4bf112a05ec4b2b07c2efc535aa5a6af2a8db 100644
(file)
--- 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.
E
ALREADY
# We won the right to delete the stale pidfile.
try: