Parcourir la source

Removed validation on host user

Serghey Rodin il y a 10 ans
Parent
commit
fbb49197be
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      bin/v-add-backup-host

+ 1 - 1
bin/v-add-backup-host

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