Bug fixing on restore
This commit is contained in:
@ -145,3 +145,11 @@ check_required_env_vars() {
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function _root_remove_tree() {
|
||||
local to_remove="$1"
|
||||
parent=$(dirname "$to_remove")
|
||||
abs_parent=$(realpath "$parent")
|
||||
child=$(basename "$to_remove")
|
||||
docker run --rm -v "$abs_parent":/data alpine rm -rf "/data/$child"
|
||||
}
|
||||
|
Reference in New Issue
Block a user