swapped && and || for -z "$HOSTNAME" test