結果 : bash function return in if statement