diff options
Diffstat (limited to 'libutil/pw_util.c')
-rw-r--r-- | libutil/pw_util.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libutil/pw_util.c b/libutil/pw_util.c index 6013e6d..4bf3001 100644 --- a/libutil/pw_util.c +++ b/libutil/pw_util.c @@ -96,7 +96,6 @@ pw_init(const char *dir, const char *master) #if 0 struct rlimit rlim; #endif - struct stat st; if (dir == NULL) { strcpy(passwd_dir, _PATH_ETC); @@ -124,14 +123,6 @@ pw_init(const char *dir, const char *master) strcpy(masterpasswd, master); } - if (stat(masterpasswd, &st) == -1) - return (-1); - - if (S_ISDIR(st.st_mode)) { - errno = EISDIR; - return (-1); - } - /* * The code that follows is extremely disruptive to the calling * process, and is therefore disabled until someone can conceive |