diff --git a/proxmox/backup.pve.content.sh b/proxmox/backup.pve.content.sh index dfab1c6..7a73806 100755 --- a/proxmox/backup.pve.content.sh +++ b/proxmox/backup.pve.content.sh @@ -77,7 +77,7 @@ is_directory_absent() { # {{{ ### Check if the directory exists # shellcheck disable=SC2086 - if find ${local_directory_absent} -type d > /dev/null 2>&1; then + if test -d "${local_directory_absent}"; then return_is_directory_absent="1" debug_message "is_directory_absent − \ The directory ${RED}${local_directory_absent}${COLOR_DEBUG} exists."