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:
commit
b9af735d85
|
|
@ -29,6 +29,7 @@ def list_interfaces(skip_loopback=True):
|
||||||
|
|
||||||
|
|
||||||
def check_mirror_reachable():
|
def check_mirror_reachable():
|
||||||
|
log("Testing connectivity to the Arch Linux mirrors ...", level=logging.INFO)
|
||||||
if (exit_code := SysCommand("pacman -Sy").exit_code) == 0:
|
if (exit_code := SysCommand("pacman -Sy").exit_code) == 0:
|
||||||
return True
|
return True
|
||||||
elif os.geteuid() != 0:
|
elif os.geteuid() != 0:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue