would help to define a variable before trying to use it

This commit is contained in:
2025-11-07 15:52:38 -05:00
parent c42108dc97
commit 6ec7af0723
+2
View File
@@ -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