結果 : bash use function return value in if statement