diff options
author | John Kehayias <john.kehayias@protonmail.com> | 2023-12-28 21:13:26 -0500 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2023-12-28 21:13:26 -0500 |
commit | 92227248a616a9555200a48b1e4f1768a462556b (patch) | |
tree | 2e5bc472b5169742a4a5ffe5971ceb8be780970f /nix | |
parent | bdab356332e391e09d0feafe0fcac9c52388a07d (diff) | |
parent | 7722da6fa5422c4fec69d6c8b9536c7d6fc3d326 (diff) |
Merge branch 'master' into mesa-updates
Change-Id: I16539f64df739453a83f8dfd962e04910a7d7ff5
Diffstat (limited to 'nix')
-rw-r--r-- | nix/libstore/build.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index 54555b92d7..461fcbc584 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -2155,11 +2155,11 @@ void DerivationGoal::runChild() int cur = personality(0xffffffff); if (cur != -1) personality(cur | ADDR_NO_RANDOMIZE); - /* Ask the kernel to eagerly kill us & our children if it runs out of - memory, regardless of blame, to preserve ‘real’ user data & state. */ - try { - writeFile("/proc/self/oom_score_adj", "1000"); // 100% - } catch (...) { ignoreException(); } + /* Ask the kernel to eagerly kill us & our children if it runs out of + memory, regardless of blame, to preserve ‘real’ user data & state. */ + try { + writeFile("/proc/self/oom_score_adj", "1000"); // 100% + } catch (...) { ignoreException(); } #endif /* Fill in the environment. */ |