~ruther/guix-local

892ec53b7eedf998afa149b9cdd169f0cab8f41d — Tobias Geerinckx-Rice 2 years ago 766822a
daemon: Fix my own whitespace errors.

This follows up on commit d993ed43b2bae8717437aa27d9d33fd223a6411f and
was entirely predictable.  The noise, sorry for it.

Change-Id: I8ddb8cfe33db3864949f6589cc091616a90ebc5b
1 files changed, 5 insertions(+), 5 deletions(-)

M nix/libstore/build.cc
M nix/libstore/build.cc => nix/libstore/build.cc +5 -5
@@ 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. */