summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2010-11-26 14:54:30 -0600
committerWilliam Hubbs <williamh@gentoo.org>2010-11-26 14:54:30 -0600
commit82b265016aadb8827b19319561f5c4cbd2807ff5 (patch)
tree2fb58d542b1f5ae6b3ba3cb533d2a69e62b34bdc
parentbdfab242b7fd0bbd82eb0c8b5db197f8ad9a4b7d (diff)
downloadopenrc-82b265016aadb8827b19319561f5c4cbd2807ff5.tar.gz
openrc-82b265016aadb8827b19319561f5c4cbd2807ff5.tar.bz2
openrc-82b265016aadb8827b19319561f5c4cbd2807ff5.tar.xz
send error output from chattr command to /dev/null
This is for bug #346659.
-rw-r--r--init.d/bootmisc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 9a3b1fa..3cead5e 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -39,7 +39,7 @@ cleanup_tmp_dir()
# each user gets a private directory with immutable
# bit set; remove the immutable bit before trying to
# remove it.
- [ -d /tmp/.private ] && chattr -R -a /tmp/.private
+ [ -d /tmp/.private ] && chattr -R -a /tmp/.private 2> /dev/null
find $startopts ! -name . \
! -path "./lost+found" \