Skip to content

Commit 136b7cd

Browse files
authored
Merge pull request #108 from schnatterer/feature/fix-patch-py-cleanup
Fix patch.py cleanup
2 parents 9929dd8 + deca086 commit 136b7cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rooted-ota.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ function patchOTAs() {
355355
python:${PYTHON_VERSION} sh -c \
356356
"apk add openssh && \
357357
pip install -r .tmp/my-avbroot-setup/requirements.txt && \
358-
python .tmp/my-avbroot-setup/patch.py ${args[*]} && \
359-
chown -R $(id -u):$(id -g) .tmp"
358+
python .tmp/my-avbroot-setup/patch.py ${args[*]} ; result=\$?; \
359+
chown -R $(id -u):$(id -g) .tmp; exit \$result"
360360

361361
printGreen "Finished patching file ${targetFile}"
362362
fi

0 commit comments

Comments
 (0)