fileio: drop "newline" parameter for env file parsers
Now that we don't (mis-)use the env file parser to parse kernel command lines there's no need anymore to override the used newline character set. Let's hence drop the argument and just "\n\r" always. This nicely simplifies our code.
This commit is contained in:
@@ -471,7 +471,7 @@ static int condition_test_needs_update(Condition *c) {
|
||||
uint64_t timestamp;
|
||||
int r;
|
||||
|
||||
r = parse_env_file(NULL, p, NULL, "TIMESTAMP_NSEC", ×tamp_str, NULL);
|
||||
r = parse_env_file(NULL, p, "TIMESTAMP_NSEC", ×tamp_str, NULL);
|
||||
if (r < 0) {
|
||||
log_error_errno(r, "Failed to parse timestamp file '%s', using mtime: %m", p);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user