mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +03:00
repart: do not quit earlier when --empty=force
Follow-up for 0ae5ffe0630aecd91b00af0ddd90c32c2d9c663b.
This commit is contained in:
parent
676047438a
commit
03b76a1977
@ -2946,7 +2946,7 @@ static int run(int argc, char *argv[]) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
if (context->n_partitions <= 0)
|
||||
if (context->n_partitions <= 0 && arg_empty != EMPTY_FORCE)
|
||||
return 0;
|
||||
|
||||
r = find_root(&node);
|
||||
|
Loading…
x
Reference in New Issue
Block a user