From c68eaafd16c3fde76b2376087f99c922c5a68478 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 12 Apr 2022 20:23:10 +0200 Subject: [PATCH] fix exec as well on startup --- src/config/ConfigManager.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 6d37c97b..7a9a1e60 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -259,7 +259,11 @@ void CConfigManager::parseLine(std::string& line) { const auto VALUE = line.substr(EQUALSPLACE + 1); if (COMMAND == "exec") { - handleRawExec(COMMAND, VALUE); + if (isFirstLaunch) { + firstExecRequests.push_back(VALUE); + } else { + handleRawExec(COMMAND, VALUE); + } return; } else if (COMMAND == "exec-once") { if (isFirstLaunch) {