summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2022-09-08 15:37:34 -0500
committerTony Asleson <tasleson@redhat.com>2022-09-16 10:49:37 -0500
commited9072dad8316e65c22ad4530984174fd488b56c (patch)
tree71fa54bf437bfade8cec39a3c00f5706f9b41ad6 /daemons
parenta326e35cda10b922dfa29d27e9c03e3b56282ba5 (diff)
downloadlvm2-ed9072dad8316e65c22ad4530984174fd488b56c.tar.gz
lvmdbusd: Correct undefined var
Diffstat (limited to 'daemons')
-rw-r--r--daemons/lvmdbusd/fetch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemons/lvmdbusd/fetch.py b/daemons/lvmdbusd/fetch.py
index 199b86073..9da62590a 100644
--- a/daemons/lvmdbusd/fetch.py
+++ b/daemons/lvmdbusd/fetch.py
@@ -6,6 +6,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+import errno
from .pv import load_pvs
from .vg import load_vgs
@@ -167,7 +168,7 @@ class StateUpdate(object):
log_error("Too many errors in update_thread, exiting daemon")
cfg.debug.dump()
cfg.flightrecorder.dump()
- bailing(e)
+ bailing(errno.EFAULT)
cfg.exit_daemon()
else:
# Slow things down when encountering errors