Skip to content

Commit 971c44d

Browse files
committed
Add 'xtables' to the ldconfig path - sorry, mistake
1 parent b755c0b commit 971c44d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iptc/xtables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ class xtables_target(ct.Union):
817817
for ldconfig_out_line in ldconfig_out.splitlines():
818818
ldconfig_path_regex_match = ldconfig_path_regex.match(ldconfig_out_line)
819819
if ldconfig_path_regex_match is not None:
820-
ldconfig_path = ldconfig_path_regex_match.group(1)
820+
ldconfig_path = os.path.join(ldconfig_path_regex_match.group(1), 'xtables')
821821
if os.path.isdir(ldconfig_path):
822822
_xtables_libdir = ldconfig_path
823823
break

0 commit comments

Comments
 (0)