diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-08-24 17:00:46 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-08-25 11:07:22 -0700 |
| commit | 0003748f584e6ba4747437ac7ebf4fe254f1be91 (patch) | |
| tree | 595147740fbe7ebdcaa539e821e66e160fe32bc9 /python/ovs/daemon.py | |
| parent | dbad9de12613e835048cb53d6b39300fa05943d4 (diff) | |
| download | openvswitch-0003748f584e6ba4747437ac7ebf4fe254f1be91.tar.gz | |
ovs.daemon: Fix name of EALREADY error.
Found by pychecker.
Diffstat (limited to 'python/ovs/daemon.py')
| -rw-r--r-- | 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 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: |
