1 |
commit: bf0c0dd5644436efe4986c2b259b755d111266b9 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 5 16:21:55 2015 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 5 16:22:08 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=bf0c0dd5 |
7 |
|
8 |
bootmisc: convert errors in clean_run function to warnings |
9 |
|
10 |
X-Gentoo-Bug: 552418 |
11 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=552418 |
12 |
|
13 |
init.d/bootmisc.in | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in |
17 |
index 952475d..1a05920 100644 |
18 |
--- a/init.d/bootmisc.in |
19 |
+++ b/init.d/bootmisc.in |
20 |
@@ -121,11 +121,11 @@ clean_run() |
21 |
local dir |
22 |
# If / is still read-only due to a problem, this will fail! |
23 |
if ! checkpath -W /; then |
24 |
- eerror "/ is not writable; unable to clean up underlying /run" |
25 |
+ ewarn "/ is not writable; unable to clean up underlying /run" |
26 |
return 1 |
27 |
fi |
28 |
if ! checkpath -W /tmp; then |
29 |
- eerror "/tmp is not writable; unable to clean up underlying /run" |
30 |
+ ewarn "/tmp is not writable; unable to clean up underlying /run" |
31 |
return 1 |
32 |
fi |
33 |
# Now we know that we can modify /tmp and / |
34 |
@@ -141,7 +141,7 @@ clean_run() |
35 |
rc=1 |
36 |
fi |
37 |
if [ $rc -ne 0 ]; then |
38 |
- eerror "Could not clean up underlying /run on /" |
39 |
+ ewarn "Could not clean up underlying /run on /" |
40 |
return 1 |
41 |
fi |
42 |
} |