From 678afed3151317bdcac9c129034dd42156b1f90f Mon Sep 17 00:00:00 2001 From: abrown38 Date: Thu, 16 Apr 2026 11:27:36 +0100 Subject: [PATCH] shellcheck fixes --- transfer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transfer.sh b/transfer.sh index 28ad357..9a1f82c 100755 --- a/transfer.sh +++ b/transfer.sh @@ -17,7 +17,7 @@ function main() { local LIN_DIR="/mnt/linux" local WIN_DIR="/mnt/windows" - [[ -d "/opt/os-transfer" ]] && cd "/opt/os-transfer" + cd "/opt/os-transfer" || { echo "Cannot cd to /opt/os-transfer"; exit; } local SPACE_PROJECT_MAP="./space-project-map" [[ -f "$SPACE_PROJECT_MAP" ]] || \