Skip to content

Commit a26a630

Browse files
authored
Merge pull request #286 from fdellwing/patch-1
use absolute path for ldconfig
2 parents f22147e + 6bf2cf1 commit a26a630

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
@@ -808,7 +808,7 @@ class xtables_target(ct.Union):
808808
ldconfig_path_regex = re.compile('^(/.*):$')
809809
import subprocess
810810
ldconfig = subprocess.Popen(
811-
('ldconfig', '-N', '-v'),
811+
('/sbin/ldconfig', '-N', '-v'),
812812
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True
813813
)
814814
ldconfig_out, ldconfig_err = ldconfig.communicate()

0 commit comments

Comments
 (0)