diff --git a/datadog_wrapper b/datadog_wrapper index 91a27c8..4eaf0ef 100644 --- a/datadog_wrapper +++ b/datadog_wrapper @@ -109,7 +109,7 @@ getRuntimeDependencies() { getBinaries() { # Check if we have already installed this version or if we successfully downloaded binaries before - if [ ! -d "${DD_BINARY_DIR}" -o -f "${DD_BINARY_DIR}"/datadog.yaml ]; then + if [ ! -d "${DD_BINARY_DIR}" -o -z "$(ls -A "${DD_BINARY_DIR}")" ]; then FILE="datadog-aas-${DD_AAS_LINUX_VERSION}.zip"