Console: check stdin handle early at startup

This commit is contained in:
SChernykh
2023-04-19 20:47:18 +02:00
parent 6e258bb210
commit 7a83fd2f30
2 changed files with 11 additions and 8 deletions

View File

@@ -32,6 +32,8 @@ static constexpr char log_file_name[] = "p2pool.log";
namespace p2pool {
extern const uv_handle_type stdin_type = uv_guess_handle(0);
namespace log {
int GLOBAL_LOG_LEVEL = 3;