Merge pull request #284 from habibutsu/master

Error 'Command not found' when sname is used
This commit is contained in:
Fred Hebert 2014-05-29 13:44:11 -04:00
commit f47af30e65

View file

@ -100,7 +100,7 @@ case "$REMSH_NAME" in
*) *)
REMSH_NAME_PART="$REMSH_NAME" REMSH_NAME_PART="$REMSH_NAME"
if [ "$REMSH_TYPE" = "-sname" ]; then if [ "$REMSH_TYPE" = "-sname" ]; then
REMSH_HOSTNAME_PART= "$HOSTNAME" REMSH_HOSTNAME_PART="$HOSTNAME"
else else
# -name type, check if `hostname` is fqdn # -name type, check if `hostname` is fqdn
if [ "$MAYBE_FQDN_HOSTNAME" = "$HOSTNAME" ]; then if [ "$MAYBE_FQDN_HOSTNAME" = "$HOSTNAME" ]; then