Skip to content

Commit 28b65df

Browse files
committed
Fix hiding pkg-config output
Some version of pkg-config prints to stdout their usage
1 parent de2dda4 commit 28b65df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
pkgcfg.close()
5050

5151
else:
52-
if os.system('pkg-config --help 2> /dev/null') == 0:
52+
if os.system('pkg-config --help 2>&1 >/dev/null') == 0:
5353
print("""pkg-config could not find fuse:
5454
you might need to adjust PKG_CONFIG_PATH or your
5555
FUSE installation is very old (older than 2.1-pre1)""")

0 commit comments

Comments
 (0)