Removed validation on host user

This commit is contained in:
Serghey Rodin 2015-06-03 18:39:42 +03:00
commit fbb49197be

View file

@ -98,7 +98,7 @@ EOF
if [ "$type" != 'local' ];then
check_args '4' "$#" "TYPE HOST USERNAME PASSWORD [PATH] [PORT]"
validate_format 'host' 'user'
validate_format 'host'
is_password_valid
if [ "$type" = 'sftp' ]; then
which expect >/dev/null 2>&1