From eb3a846be83e42a2947f34b2319cca191117a45d Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 20 Jun 2019 18:23:20 +0000 Subject: Recursive bomb issue --- archinstall.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archinstall.py b/archinstall.py index 7bf82b8e..df0525cd 100644 --- a/archinstall.py +++ b/archinstall.py @@ -262,7 +262,8 @@ def update_git(): if os.path.isfile('/root/archinstall/README.md'): os.remove('/root/archinstall/README.md') - output = simple_command('(cd /root/archinstall; git reset --hard origin/$(git branch | grep "*" | cut -d\' \' -f 2); git pull)') + #output = simple_command('(cd /root/archinstall; git reset --hard origin/$(git branch | grep "*" | cut -d\' \' -f 2); git pull)') + output = simple_command('(cd /root/archinstall; git pull)') if b'error:' in output: print('[N] Could not update git source for some reason.') -- cgit v1.2.3-70-g09d2