aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-10-05 11:21:55 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-10-05 11:22:08 -0500
commitbf0c0dd5644436efe4986c2b259b755d111266b9 (patch)
treed3041330d3ca5b4448df3794b263a3ca34f394c9
parent1558ad2b9ebf319b85876a940d31d513bf21324f (diff)
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
-rw-r--r--init.d/bootmisc.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 952475dd..1a05920b 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
}