diff --git a/bin/v-add-backup-host b/bin/v-add-backup-host index 77eeb0827..e46c1d216 100755 --- a/bin/v-add-backup-host +++ b/bin/v-add-backup-host @@ -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