mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
repart: Use streq_ptr() in one more place
This commit is contained in:
parent
2bdf027de1
commit
3fcf2a2a39
@ -5163,7 +5163,7 @@ static int finalize_extra_mkfs_options(const Partition *p, const char *root, cha
|
||||
|
||||
if (partition_needs_populate(p) && root && streq(p->format, "btrfs")) {
|
||||
STRV_FOREACH(subvol, p->subvolumes) {
|
||||
if (p->default_subvolume && streq(*subvol, p->default_subvolume))
|
||||
if (streq_ptr(*subvol, p->default_subvolume))
|
||||
continue;
|
||||
|
||||
r = strv_extend_many(&sv, "--subvol", *subvol);
|
||||
|
Loading…
Reference in New Issue
Block a user