結果 : bash check return value from function