commit:     bf0c0dd5644436efe4986c2b259b755d111266b9
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Oct  5 16:21:55 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Oct  5 16:22:08 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=bf0c0dd5

bootmisc: convert errors in clean_run function to warnings

X-Gentoo-Bug: 552418
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=552418

 init.d/bootmisc.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 952475d..1a05920 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -121,11 +121,11 @@ clean_run()
        local dir
        # If / is still read-only due to a problem, this will fail!
        if ! checkpath -W /; then
-               eerror "/ is not writable; unable to clean up underlying /run"
+               ewarn "/ is not writable; unable to clean up underlying /run"
                return 1
        fi
        if ! checkpath -W /tmp; then
-               eerror "/tmp is not writable; unable to clean up underlying 
/run"
+               ewarn "/tmp is not writable; unable to clean up underlying /run"
                return 1
        fi
        # Now we know that we can modify /tmp and /
@@ -141,7 +141,7 @@ clean_run()
                rc=1
        fi
        if [ $rc -ne 0 ]; then
-               eerror "Could not clean up underlying /run on /"
+               ewarn "Could not clean up underlying /run on /"
                return 1
        fi
 }

Reply via email to