Skip to content

Commit

Permalink
lxc-docker: use -e
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Oct 4, 2024
1 parent 21ac653 commit e663f5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/proxmox/docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export DEBIAN_FRONTEND=noninteractive
(apt -y --fix-broken install && dpkg --configure -a && apt -y update && apt -y dist-upgrade) &

# foreground pull if requested.
if [ -f "volume/.pull" ]
if [ -e "volume/.pull" ]
then
rm -f volume/.pull
rm -rf volume/.pull
docker compose pull
else
# always background pull in case there's a broken image.
Expand Down

0 comments on commit e663f5d

Please sign in to comment.