1 |
commit: d032b17897278659ae103d1bcf2aea7739cdbfbb |
2 |
Author: Joe M <joe9mail <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Aug 29 14:10:58 2014 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 29 14:10:58 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=d032b178 |
7 |
|
8 |
savecache: check permissions on the correct directory |
9 |
|
10 |
--- |
11 |
init.d/savecache.in | 4 ++-- |
12 |
1 file changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/init.d/savecache.in b/init.d/savecache.in |
15 |
index 9040732..dde02dd 100644 |
16 |
--- a/init.d/savecache.in |
17 |
+++ b/init.d/savecache.in |
18 |
@@ -13,8 +13,8 @@ start() |
19 |
return 1 |
20 |
fi |
21 |
fi |
22 |
- if ! checkpath -W "$RC_LIBEXECDIR"; then |
23 |
- ewarn "WARNING: ${RC_LIBEXECDIR} is not writable!" |
24 |
+ if ! checkpath -W "$RC_LIBEXECDIR"/cache; then |
25 |
+ ewarn "WARNING: ${RC_LIBEXECDIR}/cache is not writable!" |
26 |
if ! yesno "${RC_GOINGDOWN}"; then |
27 |
ewarn "Unable to save deptree cache" |
28 |
return 1 |