Hello all >From cd1c6223f05cd3f34b66fe6239d60e7bc3a5a428 Mon Sep 17 00:00:00 2001 From: Babich Vladimir <spyb...@proton.me> Date: Tue, 13 Aug 2024 12:49:05 +0300 Subject: [PATCH] removed duplicate check for subsection devices
--- libmpathutil/parser.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libmpathutil/parser.c b/libmpathutil/parser.c index 29b212ce..b44bc301 100644 --- a/libmpathutil/parser.c +++ b/libmpathutil/parser.c @@ -406,8 +406,7 @@ int is_sublevel_keyword(char *str) { return (strcmp(str, "defaults") == 0 strcmp(str, "blacklist") == 0 - strcmp(str, "blacklist_exceptions") == 0 - strcmp(str, "devices") == 0 strcmp(str, "devices") == 0 + strcmp(str, "blacklist_exceptions") == 0 strcmp(str, "devices") == 0 strcmp(str, "device") == 0 strcmp(str, "multipaths") == 0 || strcmp(str, "multipath") == 0); } -- 2.44.2 redundant double-checking of the devices subsection https://github.com/opensvc/multipath-tools/pull/93