結果 : bash use function in if statement