bootspec: shorten code a bit

This commit is contained in:
Yu Watanabe 2022-09-04 00:01:09 +09:00
parent 69a34a4fd4
commit 28340719f2

View File

@ -113,8 +113,7 @@ static int parse_path_one(
if (r <= 0)
return r;
free_and_replace(*s, c);
return 0;
return free_and_replace(*s, c);
}
static int parse_path_strv(