diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hydra/misc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc index 0823148..89e0aa0 100644 --- a/lib/hydra/misc +++ b/lib/hydra/misc @@ -155,9 +155,7 @@ function hydra_get_fqdn_from_nodename { if [ "$node" == "localhost" ]; then facter fqdn - fi - - if echo $node | grep -q '\.'; then + elif echo $node | grep -q '\.'; then echo $node else domain=`hydra $HYDRA config domain` |