Closed KES777 closed 9 years ago
If you look into your code:
58: host = localhost .... 88: if [[ "$host" = "auto" && "$SSH_CONNECTION" != "" ]]; then echo "HERE" host=${SSH_CONNECTION%% *} fi
You can notice that at line 88 $host is always localhost. It seems this code must be after command line option processing
wrong place. Right here
If you look into your code:
You can notice that at line 88 $host is always localhost. It seems this code must be after command line option processing