repart: do not quit earlier when --empty=force
Follow-up for 0ae5ffe063.
This commit is contained in:
committed by
Frantisek Sumsal
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);
|
||||
|
||||
Reference in New Issue
Block a user