From c4f1219b3aafb2541d519751b1936d5a4c98a376 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 30 May 2025 21:47:44 +1200 Subject: [PATCH] :-'Generic Commit' --- src/config.cpp | 4 ---- testing/test-docker.sh | 1 - 2 files changed, 5 deletions(-) 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)