Kaynağa Gözat

Removed validation on host user

Serghey Rodin 10 yıl önce
ebeveyn
işleme
fbb49197be
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      bin/v-add-backup-host

+ 1 - 1
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