結果 : check function return value bash