Remove rm errors
This commit is contained in:
parent
091e88cc20
commit
3bd2e6e638
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
delete_files()
|
delete_files()
|
||||||
{
|
{
|
||||||
cd "$1" || return $?
|
cd "$1" || return $?
|
||||||
$2 xargs -d '\n' rm -d
|
$2 xargs -d '\n' rm -d 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
# $1 = package , $2 = prefix
|
# $1 = package , $2 = prefix
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue