fix exec as well on startup

This commit is contained in:
vaxerski 2022-04-12 20:23:10 +02:00
parent 17f63bf3e8
commit c68eaafd16

View File

@ -259,7 +259,11 @@ void CConfigManager::parseLine(std::string& line) {
const auto VALUE = line.substr(EQUALSPLACE + 1); const auto VALUE = line.substr(EQUALSPLACE + 1);
if (COMMAND == "exec") { if (COMMAND == "exec") {
if (isFirstLaunch) {
firstExecRequests.push_back(VALUE);
} else {
handleRawExec(COMMAND, VALUE); handleRawExec(COMMAND, VALUE);
}
return; return;
} else if (COMMAND == "exec-once") { } else if (COMMAND == "exec-once") {
if (isFirstLaunch) { if (isFirstLaunch) {