[PATCH] removed duplicate check for subsection devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux