aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2009-10-12 14:10:50 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2009-10-12 14:10:50 +0000
commit8999b255cc7998ba5ea687b713ce271d997ef237 (patch)
tree473e6f7ee955d859f126a9c4e3e7098e34998f3e
parent030cdae925f422b8ce3e20da59405d1b0acb5e6a (diff)
- hide more errors
-rwxr-xr-xscripts/make-boot-splash-raw8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/make-boot-splash-raw b/scripts/make-boot-splash-raw
index 6fe160b..29d727a 100755
--- a/scripts/make-boot-splash-raw
+++ b/scripts/make-boot-splash-raw
@@ -34,12 +34,12 @@ else
if [ -x /usr/libexec/plymouth/plymouth-populate-initrd ]; then
tmp_initrd=`mktemp`
tmp_dir=`mktemp -d`
- gzip -dc $initrd_file > $tmp_initrd
- mount -o loop $tmp_initrd $tmp_dir
+ gzip -dc $initrd_file > $tmp_initrd 2> /dev/null
+ mount -o loop $tmp_initrd $tmp_dir 2> /dev/null
rm -rf $tmp_dir/usr/share/plymouth $tmp_dir/usr/lib*/plymouth
/usr/libexec/plymouth/plymouth-populate-initrd -t $tmp_dir
- umount $tmp_dir
- gzip -c $tmp_initrd > $initrd_file
+ umount $tmp_dir 2>/dev/null
+ gzip -c $tmp_initrd > $initrd_file 2>/dev/null
rm -f $tmp_initrd
fi
fi