Merge pull request #569 from dylanmtaylor/patch-1

Add a message when running check_mirror_reachable to let users know it's not frozen
This commit is contained in:
Anton Hvornum 2021-06-10 21:15:53 +02:00 committed by GitHub
commit b9af735d85
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: