1
0

fix(rebuild): the input device is not a TTY
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Pim van den Berg 2022-11-19 17:04:19 +01:00
parent 82c406ffa3
commit ddc6715bbb

View File

@ -2,7 +2,7 @@
updates_available () { updates_available () {
docker pull "$1" docker pull "$1"
if test "$(docker run -it --rm "$1" /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then if test "$(docker run --rm "$1" /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then
return 0 return 0
else else
return 1 return 1