diff --git a/cluster/sge.enable.host.queue.sh b/cluster/sge.enable.host.queue.sh index 2913f72..049642b 100755 --- a/cluster/sge.enable.host.queue.sh +++ b/cluster/sge.enable.host.queue.sh @@ -230,7 +230,8 @@ is_file_present() { # {{{ return_is_file_present="1" ### Check if the file exists - if [ -f "${local_file_path}" ]; then + # shellcheck disable=SC2086 + if find ${local_file_path} > /dev/null 2>&1; then return_is_file_present="0" debug_message "is_file_present − \ The file ${RED}${local_file_path}${COLOR_DEBUG} exists."