This commit is contained in:
@@ -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()) {
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user