From 82b265016aadb8827b19319561f5c4cbd2807ff5 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 26 Nov 2010 14:54:30 -0600 Subject: send error output from chattr command to /dev/null This is for bug #346659. --- init.d/bootmisc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \ -- cgit v1.2.3