mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 13:01:52 -07:00
exclusion list in array
This commit is contained in:
parent
41ec0508fb
commit
fa4813cf89
1 changed files with 1 additions and 5 deletions
|
@ -98,11 +98,7 @@ if [ "$type" != 'local' ];then
|
||||||
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
|
||||||
if [ $? -ne 0 ];then
|
check_result $? "expect command not found" $E_NOTEXIST
|
||||||
echo "Error: expect utility not found"
|
|
||||||
log_event "$E_NOTEXIST" "$EVENT"
|
|
||||||
exit $E_NOTEXIST
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue