summaryrefslogtreecommitdiffstats
path: root/bin/dispatch-conf
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-30 08:40:17 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-30 08:40:17 +0000
commitadd4ae8be75bd027f51977e601c9af8f1ddb27ee (patch)
tree559d864e21318502f1a426c78b3500b93aa72642 /bin/dispatch-conf
parentff6fc5d72cf7f47330ca7abf06d9a3d04472f8c4 (diff)
downloadportage-add4ae8be75bd027f51977e601c9af8f1ddb27ee.tar.gz
portage-add4ae8be75bd027f51977e601c9af8f1ddb27ee.tar.bz2
portage-add4ae8be75bd027f51977e601c9af8f1ddb27ee.zip
Just use stat instead of lstat for config protect, so that broken symlinks are just ignored.
svn path=/main/trunk/; revision=4881
Diffstat (limited to 'bin/dispatch-conf')
-rwxr-xr-xbin/dispatch-conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dispatch-conf b/bin/dispatch-conf
index de937425c..277d6ef4b 100755
--- a/bin/dispatch-conf
+++ b/bin/dispatch-conf
@@ -81,7 +81,7 @@ class dispatch:
for path in config_paths.split ():
path = portage.normalize_path(path)
try:
- mymode = os.lstat(path).st_mode
+ mymode = os.stat(path).st_mode
except OSError:
continue
basename = "*"