error when call function in bash script

Dears,

Any suggestions?