diff --git a/src/config.cpp b/src/config.cpp index 117a536..873eba5 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -16,10 +16,6 @@ bool load_config(const std::string& config_path, ServerConfig& config) { std::cerr << "Config file does not exist: " << config_path << std::endl; return false; } - if (!std::filesystem::is_regular_file(config_path)) { - std::cerr << "Config file is not a regular file: " << config_path << std::endl; - return false; - } std::ifstream file(config_path); if (!file.is_open()) { diff --git a/testing/test-docker.sh b/testing/test-docker.sh index afe5458..16df956 100755 --- a/testing/test-docker.sh +++ b/testing/test-docker.sh @@ -1,6 +1,5 @@ #!/bin/bash set -euo pipefail -set -x SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) MAIN_DIR=$(cd "${SCRIPT_DIR}/.." && pwd)