diff options
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/itzks-puppetserver-detect-broken-hosts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/itzks-puppetserver-detect-broken-hosts b/sbin/itzks-puppetserver-detect-broken-hosts index a632c52..3fd4a27 100755 --- a/sbin/itzks-puppetserver-detect-broken-hosts +++ b/sbin/itzks-puppetserver-detect-broken-hosts @@ -83,10 +83,10 @@ for ip in ${iplist_with_puppeterrors}; do continue fi - if [[ -n "$fqdn" ]]; then - echo -e "$fqdn\t-\t$ip" + if [[ -n "${fqdn}" ]]; then + echo -e "${fqdn}\t-\t${ip}" else - echo -e "(unknown)\t-\t$ip" + echo -e "(unknown)\t-\t${ip}" fi done |