deploy: use real name in error message

This commit is contained in:
Aaron Bieber 2022-10-16 07:12:45 -06:00
parent 495201f465
commit 04b5f652d6
No known key found for this signature in database

4
deploy
View File

@ -13,7 +13,7 @@ rebuild() {
msg "Rebuilding: ${host}"
if ! tsAlive $host; then
msg "can't reach ${host}.. skipping.."
msg "can't reach ${1}.. skipping.."
return
fi
@ -37,7 +37,7 @@ if [ "$1" = "status" ]; then
for h in $(listNixOSHosts); do
host="$(resolveAlias $h)"
if ! tsAlive $host; then
msg "can't reach ${host}.. skipping.."
msg "can't reach ${h}.. skipping.."
continue
fi
echo -n "===> $h: "