Ignore 'git checkout' failure within portzap-clone

This commit is contained in:
0x1eef 2024-05-23 03:10:41 -03:00
parent 48bd6c6047
commit 61df681f32

View file

@ -46,5 +46,6 @@ gitexec "clone ${giturl} ${gitdir}"
cd "${gitdir}" cd "${gitdir}"
gitexec "config core.filemode off" gitexec "config core.filemode off"
set +x set +x
gitexec "checkout -t origin/${branch}" set +e
gitexec "checkout -t origin/${branch} > /dev/null 2>&1"
printok "clone complete" printok "clone complete"