diff --git a/zsh/.config/zsh/dockerupdate.zsh b/zsh/.config/zsh/dockerupdate.zsh index 12e8079..031cd2f 100644 --- a/zsh/.config/zsh/dockerupdate.zsh +++ b/zsh/.config/zsh/dockerupdate.zsh @@ -7,7 +7,7 @@ dockerupdate() { # If either docker is not installed or docker-compose file is missing, do not run if [[ ! -x "$(which docker)" ]] && ([[ ! -r docker-compose.yml ]] || [[ ! -r docker-compose.yaml ]]); then - return + return 1 else until docker compose pull; do docker compose pull