Use issetugid instead of comparing get[ug]id and gete[ug]id.
Use issetugid instead of comparing get[ug]id and gete[ug]id.

Suggested by:	Don Lewis <Don.Lewis@tsc.tdk.com>

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase