aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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