diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 6b033fd..2b493e0 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -305,10 +305,9 @@ spcd_os_printenv() { } spcd_os_rm() { - spcd_os_rm__path="${1}" - if [ -e "${spcd_os_rm__path}" ]; then - echo "← ${spcd_os_rm__path}" - rm -r "${spcd_os_rm__path}" + if [ -e "${1}" ]; then + echo "← ${1}" + rm -r "${1}" fi }