chiark / gitweb /
job: start job timer when we begin running the job, not already when we add it to...
[elogind.git] / src / sysctl.c
index 38ea2d18bc2a48bcc85b17e17d547c58c7061bf0..a8a9422ac35a9192a23af62d22b2800c6ea9430e 100644 (file)
@@ -43,6 +43,7 @@ static void apply_sysctl(const char *property, const char *value) {
         if (!(p = new(char, sizeof(PROC_SYS_PREFIX) + strlen(property)))) {
                 log_error("Out of memory");
                 exit_code = -ENOMEM;
+                return;
         }
 
         n = stpcpy(p, PROC_SYS_PREFIX);