Remove rm errors

This commit is contained in:
zawz 2020-06-03 20:12:53 +02:00
parent 091e88cc20
commit 3bd2e6e638

View file

@ -5,7 +5,7 @@
delete_files()
{
cd "$1" || return $?
$2 xargs -d '\n' rm -d
$2 xargs -d '\n' rm -d 2>/dev/null
}
# $1 = package , $2 = prefix