auto deploy from workflow
This commit is contained in:
parent
0ab3f2c1c7
commit
139be248d0
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def exit_if_no_internet():
|
|||
"""Exits script if there's no internet connection.
|
||||
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)
|
||||
exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue