]> gitweb.fluxo.info Git - hydra.git/commitdiff
Oops
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Oct 2015 20:07:12 +0000 (18:07 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Oct 2015 20:07:12 +0000 (18:07 -0200)
share/hydra/newnode

index 3f614c38c66a67b168554435472da9f0fe698220..19f1f8d6dfddde36515bfd9287d1e8d66da2b32b 100755 (executable)
@@ -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