From: James Bunton Date: Sun, 3 Apr 2022 14:08:21 +0000 (+1000) Subject: healthcheck don't use hostname command X-Git-Url: https://code.delx.au/monosys/commitdiff_plain/0eb920c2bb6dc07e56d33de3b58eaba0498dae5e healthcheck don't use hostname command --- diff --git a/healthcheck/run-all b/healthcheck/run-all index 12eac5e..e5a12c3 100755 --- a/healthcheck/run-all +++ b/healthcheck/run-all @@ -9,7 +9,7 @@ cd "$(dirname "$(readlink -f "$0")")" for i in ./*; do if [ "$(basename "$i")" != "$(basename "$0")" ]; then if ! "$i"; then - echo -e "\n^^ FAILED! $(hostname) $PRETTY_NAME -- $i ^^\n" + echo -e "\n^^ FAILED! $(cat /etc/hostname) $PRETTY_NAME -- $i ^^\n" exit 1 fi fi