summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/newnode2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/newnode b/share/hydra/newnode
index 3f614c3..19f1f8d 100755
--- a/share/hydra/newnode
+++ b/share/hydra/newnode
@@ -43,7 +43,7 @@ DOMAIN="`cat $HYDRA_FOLDER/config/domain`"
# Check if node was given by fqdn or just hostname
if ! echo $NODE | grep -q '\.'; then
- $NODE="$NODE.$DOMAIN"
+ NODE="$NODE.$DOMAIN"
fi
# Create node