Fix bug where user group enumeration was not properly checking return code of getgrouplist to resize the buffer when needed. Fixes https://github.com/rstudio/rstudio-pro/issues/1796
Fix bug where user group enumeration was not properly checking return code of getgrouplist to resize the buffer when needed. Fixes https://github.com/rstudio/rstudio-pro/issues/1796

JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio