summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorHabibutsu <habibutsu@gmail.com>2014-05-27 11:22:24 +0300
committerHabibutsu <habibutsu@gmail.com>2014-05-27 11:22:24 +0300
commit12ca1fb126aa783d2df41d1d5c112a96ac6aafb3 (patch)
tree050e68439cb9a024a12197143c4e75d953f496aa /priv
parent755c6023d181b4aa87a581ac71e96d2de90a015f (diff)
downloadrebar-12ca1fb126aa783d2df41d1d5c112a96ac6aafb3.tar.gz
Error 'Command not found' when sname is used
When a node is configured with -sname the REMSH_NAME_PART argument should be defined with using command 'hostname' but error occurs due extra space
Diffstat (limited to 'priv')
-rwxr-xr-xpriv/templates/simplenode.runner2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index 595a1ea..3e9e10f 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -100,7 +100,7 @@ case "$REMSH_NAME" in
*)
REMSH_NAME_PART="$REMSH_NAME"
if [ "$REMSH_TYPE" = "-sname" ]; then
- REMSH_HOSTNAME_PART= "$HOSTNAME"
+ REMSH_HOSTNAME_PART="$HOSTNAME"
else
# -name type, check if `hostname` is fqdn
if [ "$MAYBE_FQDN_HOSTNAME" = "$HOSTNAME" ]; then