Forgot to place the output some where.. oh i know.. in output...

This commit is contained in:
Anton Hvornum 2019-04-11 21:13:25 +02:00
parent 687685809a
commit 3fb42df162
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ def update_git():
if os.path.isfile('/root/archinstall/README.md'):
os.remove('/root/archinstall/README.md')
simple_command('(cd /root/archinstall; git reset --hard origin/$(git branch | grep "*" | cut -d\' \' -f 2))') # git reset --hard origin/<branch_name> / git fetch --all
output = simple_command('(cd /root/archinstall; git reset --hard origin/$(git branch | grep "*" | cut -d\' \' -f 2))') # git reset --hard origin/<branch_name> / git fetch --all
print(output)
if b'error:' in output: