From c1f7da21bdc618e4835b5509b6492a531c0ecf5e Mon Sep 17 00:00:00 2001
From: Louis Maillard <louis.maillard@savoirfairelinux.com>
Date: Wed, 24 Jul 2024 15:13:50 -0400
Subject: [PATCH] crtmgr: remove newline when asking question

This patch remove a typo '\n' while asking an question to user

Change-Id: I06520037a65e91cd3d3496bff37ba854070310ed
---
 tools/dhtnet_crtmgr/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/dhtnet_crtmgr/main.cpp b/tools/dhtnet_crtmgr/main.cpp
index 6b69707..cdccd21 100644
--- a/tools/dhtnet_crtmgr/main.cpp
+++ b/tools/dhtnet_crtmgr/main.cpp
@@ -339,7 +339,7 @@ main(int argc, char** argv)
             std::string overwrite = "";
             if (std::filesystem::exists(yaml_config)) {
                 do {
-                    fmt::print("Configuration file already exists in {}. Overwrite it? [y/N] (default: no): \n", yaml_config);
+                    fmt::print("Configuration file already exists in {}. Overwrite it? [y/N] (default: no): ", yaml_config);
                     std::getline(std::cin, overwrite);
                     overwrite = str_tolower(overwrite);
                     if (overwrite == "y") overwrite = "yes";
-- 
GitLab