mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +03:00
repart: Put function call closer to its error handling
This commit is contained in:
parent
4ccee4b426
commit
5f13fb0a73
@ -2243,8 +2243,8 @@ static int context_load_partition_table(Context *context) {
|
||||
return log_oom();
|
||||
|
||||
if (arg_sector_size > 0) {
|
||||
r = fdisk_save_user_sector_size(c, /* phy= */ 0, arg_sector_size);
|
||||
fs_secsz = arg_sector_size;
|
||||
r = fdisk_save_user_sector_size(c, /* phy= */ 0, arg_sector_size);
|
||||
} else {
|
||||
uint32_t ssz;
|
||||
struct stat st;
|
||||
|
Loading…
x
Reference in New Issue
Block a user