parse.sh: handle cancellation more peacefully
the patch didnt "fail" Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
parent
5f5a719ea6
commit
3c2976de87
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ applyPatch() {
|
|||
if bash "$2" ; then
|
||||
good "Patch [$opt] applied successfully"
|
||||
echo "Patch applied by MBCPApp Patcher on $(uname -s -r) with commit : $(git rev-parse --short HEAD) at $(date)." > "mbapk/mbapk_unpacked/root/assets/mbcp_info/$1.inf"
|
||||
elif [ "$?" -eq "69" ] ; then
|
||||
warn "Patch [$opt] was cancelled by the user"
|
||||
else
|
||||
err "Patch [$opt] failed"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue