Remove comment lines from the lab-hosts config when reading it.

This commit is contained in:
Andrew Wood
2025-10-14 22:11:40 +01:00
parent 164d7f7738
commit f0895177e7
+1 -1
View File
@@ -140,7 +140,7 @@ if test "$1" = "--testRunner"; then
exit 1
fi
labHosts="$(cat ~/.config/lab-hosts 2>/dev/null)"
labHosts="$(grep -v '^#' ~/.config/lab-hosts 2>/dev/null)"
workDir=$(mktemp -d) || exit 1
trap 'rm -rf "${workDir}"' EXIT