From c33d382220ba1c2b2a4b42b9412fa094a7eef03a Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 11 Apr 2019 20:50:17 +0200 Subject: More status output --- archinstall.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archinstall.py') diff --git a/archinstall.py b/archinstall.py index 974d1968..bd0a4f27 100644 --- a/archinstall.py +++ b/archinstall.py @@ -205,7 +205,8 @@ def update_git(): os.remove('/root/archinstall/README.md') output = b''.join(sys_command('(cd /root/archinstall; git update)').exec()) # git reset --hard origin/ / git fetch --all - + print(output) + if b'error:' in output: print('[N] Could not update git source for some reason.') return -- cgit v1.2.3-70-g09d2