no output for cleanup

This commit is contained in:
udeved 2015-01-09 16:20:12 +01:00
parent ee954e0676
commit ef96f8bd1d

View file

@ -123,7 +123,7 @@ clean_up(){
msg2 "Cleaning up what we can"
if [ -d "${work_dir}/${IMAGE_FOLDER}/boot/" ]; then
# remove the initcpio images that were generated for the host system
find "${work_dir}/${IMAGE_FOLDER}/boot" -name 'initramfs*.img' -delete
find "${work_dir}/${IMAGE_FOLDER}/boot" -name 'initramfs*.img' -delete &>/dev/null
fi
if ${CREATE_DEFAULT}; then