mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
- network-service: fix compiler warning
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -180,8 +180,7 @@ int CNetworkServiceSetup::showNetworkServiceSetup()
|
||||
items[i] = new CNetworkService(services[i].cmd, services[i].options);
|
||||
services[i].enabled = items[i]->Enabled();
|
||||
|
||||
std::string exec = find_executable(services[i].cmd.c_str());
|
||||
active = !exec.empty();
|
||||
active = !find_executable(services[i].cmd.c_str()).empty();
|
||||
|
||||
if ((services[i].name == "Telnet") && useinetd)
|
||||
active = false;
|
||||
|
Reference in New Issue
Block a user