From 7235442b54a8e7a1f60e70b34ffc7964dfe27e3d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 13 Dec 2025 02:51:58 +0000 Subject: [PATCH] Simplify error check for wrapper creation to only use file existence test Co-authored-by: ShaYmez <76499782+ShaYmez@users.noreply.github.com> --- hblink3-docker-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink3-docker-install.sh b/hblink3-docker-install.sh index 2550b72..297fc3a 100755 --- a/hblink3-docker-install.sh +++ b/hblink3-docker-install.sh @@ -108,7 +108,7 @@ install_docker_and_dependencies() { # Wrapper script to provide docker-compose command using docker compose plugin exec docker compose "$@" EOF - if [ $? -eq 0 ] && [ -f /usr/local/bin/docker-compose ]; then + if [ -f /usr/local/bin/docker-compose ]; then chmod +x /usr/local/bin/docker-compose echo "docker-compose wrapper created successfully" else