From 0c90262e8a1c4e5e5d052f8db84c60a36691414d Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 13 Aug 2024 21:05:48 +0200 Subject: [PATCH] conn_tool: fixed minor error --- src/connectivity_tool/conn_tool.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/connectivity_tool/conn_tool.cpp b/src/connectivity_tool/conn_tool.cpp index 94df1835..a7c32892 100644 --- a/src/connectivity_tool/conn_tool.cpp +++ b/src/connectivity_tool/conn_tool.cpp @@ -1222,7 +1222,10 @@ bool handle_pack_file(po::variables_map& vm) } if (!command_line::has_arg(vm, arg_target_file)) + { std::cout << "Error: Parameter target_file is not set." << ENDL; + return false; + } path_target = command_line::get_arg(vm, arg_target_file); std::ifstream source;