Skip to content

Commit fbb4919

Browse files
committed
Removed validation on host user
1 parent 9c30e4b commit fbb4919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-backup-host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ EOF
9898

9999
if [ "$type" != 'local' ];then
100100
check_args '4' "$#" "TYPE HOST USERNAME PASSWORD [PATH] [PORT]"
101-
validate_format 'host' 'user'
101+
validate_format 'host'
102102
is_password_valid
103103
if [ "$type" = 'sftp' ]; then
104104
which expect >/dev/null 2>&1

0 commit comments

Comments
 (0)