chiark / gitweb /
execute: don't fail if we cannot fix OOM in a container
authorLennart Poettering <lennart@poettering.net>
Tue, 12 Apr 2011 18:12:15 +0000 (20:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Apr 2011 18:12:15 +0000 (20:12 +0200)
TODO
src/execute.c

diff --git a/TODO b/TODO
index 04c3832cb4b6fd291565ec3b00df298c133bb48b..98251b2c0a49302dfa1177458e49d3e7066048ed 100644 (file)
--- a/TODO
+++ b/TODO
@@ -23,6 +23,8 @@ F15:
 
 * get writev() /dev/kmsg support into the F15 kernel
 
+* fix sd_is_socket() invocation in dbus
+
 Features:
 
 * fix alsa mixer restore to not print error when no config is stored
index d67916c249282699eb9215abcb230defc73833c4..1e376ff89e08beacdf46aa344e3a2128f9bde6ac 100644 (file)
@@ -1106,7 +1106,8 @@ int exec_spawn(ExecCommand *command,
                                 snprintf(t, sizeof(t), "%i", adj);
                                 char_array_0(t);
 
-                                if (write_one_line_file("/proc/self/oom_adj", t) < 0) {
+                                if (write_one_line_file("/proc/self/oom_adj", t) < 0
+                                    && errno != EACCES) {
                                         r = EXIT_OOM_ADJUST;
                                         goto fail_child;
                                 }