More status output

This commit is contained in:
Anton Hvornum 2019-04-11 20:50:17 +02:00
parent ef489a0cb5
commit c33d382220
1 changed files with 2 additions and 1 deletions

View File

@ -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/<branch_name> / git fetch --all
print(output)
if b'error:' in output:
print('[N] Could not update git source for some reason.')
return