cleanup resinhup

This commit is contained in:
Pascal Vizeli 2017-03-24 00:35:31 +01:00
parent c391c2a3fe
commit aee9c78585

View File

@ -307,6 +307,8 @@ docker run --privileged --rm --net=host $RESINHUP_ENV \
-v /var/run/docker.sock:/var/run/docker.sock \
$DOCKER_REPO/resinhup:$MACHINE-$RESINHUP_VERSION
RESINHUP_EXIT=$?
docker rmi $DOCKER_REPO/resinhup:$MACHINE-$RESINHUP_VERSION || true
# RESINHUP_EXIT
# 0 - update done
# 2 - only intermediate step was done and will continue after reboot