main - lvmdbusd: Correct undefined var
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ed9072dad8316e65c22ad4530984174fd488b56c Commit: ed9072dad8316e65c22ad4530984174fd488b56c Parent: a326e35cda10b922dfa29d27e9c03e3b56282ba5 Author: Tony Asleson <[email protected]> AuthorDate: Thu Sep 8 15:37:34 2022 -0500 Committer: Tony Asleson <[email protected]> CommitterDate: Fri Sep 16 10:49:37 2022 -0500
lvmdbusd: Correct undefined var
--- daemons/lvmdbusd/fetch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
daemons/lvmdbusd/fetch.py +2 -1
@@ -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