This commit is contained in:
Your Name
2025-05-05 23:18:00 +12:00
parent b4b237c1b7
commit 42e25b6353
2 changed files with 10 additions and 4 deletions

View File

@ -45,7 +45,7 @@ _autocommandrun_path() {
PATHPARENT=$(dirname ${path})
PATHCHILD=$(basename ${path})
if [ -d "${PATHPARENT}/${PATHCHILD}" ]; then
docker run --rm -v ${PATHPARENT}:/volume debian bash -c "rm -rf /volume/${PATHCHILD}"
docker run --rm -v ${PATHPARENT}:/volume debian bash -c "rm -rf /volume/${PATHCHILD}" || echo "Failed to nuke path ${path}"
else
echo "Path ${path} does not exist - nothing to nuke"
fi