basic/os-util: make the sentinel implicit
This commit is contained in:
@@ -106,8 +106,7 @@ static void print_welcome(void) {
|
||||
r = parse_os_release(
|
||||
arg_root,
|
||||
"PRETTY_NAME", &pretty_name,
|
||||
"ANSI_COLOR", &ansi_color,
|
||||
NULL);
|
||||
"ANSI_COLOR", &ansi_color);
|
||||
if (r < 0)
|
||||
log_full_errno(r == -ENOENT ? LOG_DEBUG : LOG_WARNING, r,
|
||||
"Failed to read os-release file, ignoring: %m");
|
||||
|
||||
Reference in New Issue
Block a user