summaryrefslogtreecommitdiff
path: root/src/sysctl/sysctl.c
AgeCommit message (Collapse)Author
2012-10-06sysctl: avoiding exiting with error on -EEXISTDave Reisner
If the final key in any sysctl.d file is a duplicate, systemd-sysctl will exit with an error (and no explaination why). Ignore this, as duplicate keys are to be expected when overriding settings in the directory hierarchy.
2012-09-21sysctl: always return the last error we encounteredLennart Poettering
2012-09-21sysctl: fix error code handlingLukas Nykryn
After if (r <= 0) r can't be 0 so if (k < 0 && r == 0) never happens.
2012-08-06sysctl: apply configuration at onceMichal Sekletar
https://bugzilla.redhat.com/show_bug.cgi?id=767795 [ Simplified by iterating the config files in the backwards order - no need for hashmap_update(). Other minor cleanups. -- michich ]
2012-07-26log.h: new log_oom() -> int -ENOMEM, use itShawn Landden
also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera
2012-07-25use "Out of memory." consistantly (or with "\n")Shawn Landden
glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
2012-05-08util: split-out path-util.[ch]Kay Sievers
2012-05-07util: split-out conf-file.[ch]Kay Sievers
2012-04-12move all tools to subdirsKay Sievers