core: avoid bumping hard rlimits, restore on fork

ref #6584
This commit is contained in:
Vaxry
2024-06-19 18:36:40 +02:00
parent def5fcb212
commit c1e21719a2
3 changed files with 34 additions and 38 deletions

View File

@@ -890,6 +890,7 @@ uint64_t CKeybindManager::spawnRaw(std::string args) {
}
if (child == 0) {
// run in child
g_pCompositor->restoreNofile();
sigset_t set;
sigemptyset(&set);