Yay
This commit is contained in:
@ -321,10 +321,13 @@ std::vector<int> service_runner::get_ports()
|
||||
std::cerr << "Error: Server service not initialized" << std::endl;
|
||||
return ports;
|
||||
}
|
||||
|
||||
std::string script_path = mRemote_service_template_path + "/_ports.sh";
|
||||
|
||||
|
||||
// Check if ports script exists
|
||||
std::string command = "_ports";
|
||||
if (!template_command_exists(m_service_info.template_name, command)) {
|
||||
return ports;
|
||||
}
|
||||
std::string script_path = mRemote_service_template_path + "/" + command + ".sh";
|
||||
if (!check_remote_file_exists(script_path)) {
|
||||
return ports;
|
||||
}
|
||||
|
Reference in New Issue
Block a user