mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
bootspec: shorten code a bit
This commit is contained in:
parent
69a34a4fd4
commit
28340719f2
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user