guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: daemon: Fix my own whitespace errors.


From: guix-commits
Subject: 04/04: daemon: Fix my own whitespace errors.
Date: Fri, 22 Dec 2023 18:20:58 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 892ec53b7eedf998afa149b9cdd169f0cab8f41d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Dec 10 01:00:00 2023 +0100

    daemon: Fix my own whitespace errors.
    
    This follows up on commit d993ed43b2bae8717437aa27d9d33fd223a6411f and
    was entirely predictable.  The noise, sorry for it.
    
    Change-Id: I8ddb8cfe33db3864949f6589cc091616a90ebc5b
---
 nix/libstore/build.cc | 10 +++++-----
 1 file 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. */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]