aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 266f480d..300fcc7f 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -404,7 +404,7 @@ int prc_filecheck(const char *pathname,
process, it must have permissions no greater than 600, and it must not
be a symbolic link. We check these conditions here. */
- if (lstat(pathname, &statbuf) < 0) {
+ if (stat(pathname, &statbuf) < 0) {
if (errno == ENOENT)
return(PS_SUCCESS);
else {