diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-12-20 14:26:12 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-12-20 14:26:12 -0200 |
commit | 0ea9022f39dfb41ca54ce0270651bc144bcd9126 (patch) | |
tree | 545e9c34fbecd0ce6ebfb7d5e83fd4e29790d9a1 | |
parent | e7d64405c8dc31b67b16795426480cae4d09a7cf (diff) | |
download | hydra-0ea9022f39dfb41ca54ce0270651bc144bcd9126.tar.gz hydra-0ea9022f39dfb41ca54ce0270651bc144bcd9126.tar.bz2 |
Fixes hydra_get_fqdn_from_nodename
-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` |