From 0003748f584e6ba4747437ac7ebf4fe254f1be91 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 24 Aug 2011 17:00:46 -0700 Subject: [PATCH] ovs.daemon: Fix name of EALREADY error. Found by pychecker. --- python/ovs/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py index 7bd7370e..d4e4bf11 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: -- 2.30.2