Fixin'
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user