From 6ec7af072378b5418ea8cdc28007dd2dce89a318 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Fri, 7 Nov 2025 15:52:38 -0500 Subject: [PATCH] would help to define a variable before trying to use it --- sync-keys.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sync-keys.sh b/sync-keys.sh index 591f4a6..60650ae 100755 --- a/sync-keys.sh +++ b/sync-keys.sh @@ -7,6 +7,8 @@ # load in defaults from config scriptRoot=$(dirname "$0") configFile="$scriptRoot/config.sh" +hostname=$(hostname) + if [[ -f "$configFile" ]]; then source "$configFile" else