結果 : bash function in if statement