Improved speed in --skip-mirror-check (#1505)
This commit is contained in:
parent
977976f88e
commit
faa93d9e24
|
|
@ -278,7 +278,7 @@ def perform_installation(mountpoint):
|
|||
archinstall.log(f"Disk states after installing: {archinstall.disk_layouts()}", level=logging.DEBUG)
|
||||
|
||||
|
||||
if not (archinstall.check_mirror_reachable() or archinstall.arguments.get('skip-mirror-check', False)):
|
||||
if archinstall.arguments.get('skip-mirror-check', False) is False and archinstall.check_mirror_reachable() is False:
|
||||
log_file = os.path.join(archinstall.storage.get('LOG_PATH', None), archinstall.storage.get('LOG_FILE', None))
|
||||
archinstall.log(f"Arch Linux mirrors are not reachable. Please check your internet connection and the log file '{log_file}'.", level=logging.INFO, fg="red")
|
||||
exit(1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue