aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-07-23 18:25:55 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-07-26 00:45:22 -0500
commit863ef36011144a8907359bddc3fe705e5185fd1b (patch)
tree62a941743701b773cc068927a3b4d1d99b98806d /scripts
parent05c2d68192b80ec6177a01db6fe96fbaaf1b813f (diff)
mtab: fix test for a link to a location in /proc
/etc/mtab can be a link to a file in /proc. If it is, we should not attempt to update /etc/mtab. The original test used "! -w" as part of the test. This does not work since everything is writeable by root. Thanks to Robin Johnson for the suggestion of using readlink -f and the regular expression. Reported-By: junkmailnotread@yahoo.com X-Gentoo-Bug: 370037 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=370037
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions