send error output from chattr command to /dev/null

This is for bug #346659.
This commit is contained in:
William Hubbs 2010-11-26 14:54:30 -06:00
parent bdfab242b7
commit 82b265016a

View File

@ -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" \