Closed codekitchen closed 8 years ago
501 is often, but not always, the uid of the user on OS X. For instance in our corp environment, our uid is the same as our active directory id. This new check should be more reliable, as 0 is always the uid of the root user.
@codekitchen Thanks PR!! LGTM. I think it is more correct implementation.
I tested later, and will merge.
@codekitchen Merged. Thanks!!
501 is often, but not always, the uid of the user on OS X. For instance in our corp environment, our uid is the same as our active directory id. This new check should be more reliable, as 0 is always the uid of the root user.