diff --git a/rebuild.sh b/rebuild.sh index d2f5dea..ef05693 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -2,7 +2,7 @@ updates_available () { 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 else return 1