結果 : shell script call function in if statement