Skip to content

Commit b755c0b

Browse files
committed
Change subprocess.DEVNULL to subprocess.PIPE - compatibility issues
1 parent 54aee9a commit b755c0b

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
@@ -809,7 +809,7 @@ class xtables_target(ct.Union):
809809
import subprocess
810810
ldconfig = subprocess.Popen(
811811
('ldconfig', '-N', '-v'),
812-
stdin=subprocess.DEVNULL, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, universal_newlines=True
812+
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True
813813
)
814814
ldconfig_out, ldconfig_err = ldconfig.communicate()
815815
if ldconfig.returncode != 0:

0 commit comments

Comments
 (0)