mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
repart: explain when we exit early and don't do a thing
This commit is contained in:
@@ -2946,8 +2946,10 @@ static int run(int argc, char *argv[]) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
if (context->n_partitions <= 0 && arg_empty != EMPTY_FORCE)
|
||||
if (context->n_partitions <= 0 && arg_empty != EMPTY_FORCE) {
|
||||
log_info("Didn't find any partition definition files, nothing to do.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
r = find_root(&node);
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user