From 4175448b369d197a53785c80fd34e0389939fca6 Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Thu, 21 Dec 2023 07:02:42 -0800 Subject: [PATCH] Fixed SC2164: Use 'cd ... || exit' in case cd fails. --- setup/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/bootstrap.sh b/setup/bootstrap.sh index 401bbe8b..db6ce25f 100644 --- a/setup/bootstrap.sh +++ b/setup/bootstrap.sh @@ -74,7 +74,7 @@ if [ ! -d "$HOME/mailinabox" ]; then fi # Change directory to it. -cd "$HOME/mailinabox" +cd "$HOME/mailinabox" || exit # Update it. if [ "$TAG" != $(git describe --always) ]; then