We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 246045c commit a656ac8Copy full SHA for a656ac8
bin/v-add-backup-host
@@ -104,7 +104,7 @@ EOF
104
if [ "$type" != 'local' ];then
105
check_args '4' "$#" "TYPE HOST USERNAME PASSWORD [PATH] [PORT]"
106
is_format_valid 'host' 'path' 'port'
107
- is_type_valid "$type" 'sftp,ftp,b2'
+ is_type_valid 'sftp,ftp,b2' "$type"
108
is_username_format_valid "$user" "username"
109
is_password_valid
110
format_no_quotes "$password" "password"
0 commit comments