Hotspot UI

This commit is contained in:
Robin Davies
2021-08-22 11:51:09 -04:00
parent f6aa331d77
commit 865e23b413
51 changed files with 918 additions and 146 deletions
+2 -1
View File
@@ -13,6 +13,7 @@
#include "ShutdownClient.hpp"
#include "WifiConfigSettings.hpp"
#include "WifiChannels.hpp"
#include "SysExec.hpp"
using namespace std;
using namespace pipedal;
@@ -277,7 +278,7 @@ static void requestShutdown(bool restart)
}
s << " now";
if (system(s.str().c_str()) != EXIT_SUCCESS)
if (SysExec(s.str().c_str()) != EXIT_SUCCESS)
{
Lv2Log::error("shutdown failed.");
if (restart) {