Before this change Rmdir would check the root rather than the directory specified for being empty and return "directory not empty" when it shouldn't have done.
Before this change Rmdir would check the root rather than the directory specified for being empty and return "directory not empty" when it shouldn't have done.