mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
network-service: fix compiler warning
Origin commit data
------------------
Commit: 69754e7b1f
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-07-15 (Fri, 15 Jul 2022)
Origin message was:
------------------
- network-service: fix compiler warning
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