This commit is contained in:
Marc Beninca 2024-08-26 16:33:15 +02:00
parent 96ec535b83
commit ad23eb5180
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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
}