summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--src/execute.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/TODO b/TODO
index 04c3832cb4..98251b2c0a 100644
--- 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
diff --git a/src/execute.c b/src/execute.c
index d67916c249..1e376ff89e 100644
--- a/src/execute.c
+++ b/src/execute.c
@@ -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;
}