From: Zbigniew Jędrzejewski-Szmek Date: Wed, 16 Jul 2014 22:27:12 +0000 (-0400) Subject: Let config_parse open file where applicable X-Git-Tag: v216~556 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=36f822c4bd077f9121757e24b6516e5c7ada63b5;hp=36f822c4bd077f9121757e24b6516e5c7ada63b5 Let config_parse open file where applicable Special care is needed so that we get an error message if the file failed to parse, but not when it is missing. To avoid duplicating the same error check in every caller, add an additional 'warn' boolean to tell config_parse whether a message should be issued. This makes things both shorter and more robust wrt. to error reporting. ---