結果 : bash call function in if statement