Add a message when running check_mirror_reachable to let users know it is not frozen.

This commit is contained in:
Dylan M. Taylor 2021-06-10 07:44:23 -04:00 committed by GitHub
parent 14d0685edc
commit 3023e57033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ def list_interfaces(skip_loopback=True):
def check_mirror_reachable():
log("Testing connectivity to the Arch Linux mirrors ...", level=logging.INFO)
if (exit_code := SysCommand("pacman -Sy").exit_code) == 0:
return True
elif os.geteuid() != 0: