fix: hide unwanted output
This commit is contained in:
parent
d808dd0090
commit
1852084f47
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -91,7 +91,7 @@ def exit_if_no_internet():
|
||||||
"""Exits script if there's no internet connection.
|
"""Exits script if there's no internet connection.
|
||||||
Pings archlinux.org for testing."""
|
Pings archlinux.org for testing."""
|
||||||
|
|
||||||
if system("ping -c 1 archlinux.org"):
|
if system("ping -c 1 archlinux.org > /dev/null"):
|
||||||
print(" Failed to connect to the internet.", file=sys.stderr)
|
print(" Failed to connect to the internet.", file=sys.stderr)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue