rm/1
This commit is contained in:
parent
96ec535b83
commit
ad23eb5180
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue