In fact if the group exists but is not a system group (100-999), addgroup returns 1. I'll add a getent group tomcat6 check to check for group existence before running addgroup.
In fact if the group exists but is not a system group (100-999), addgroup returns 1. I'll add a getent group tomcat6 check to check for group existence before running addgroup.