mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
gpt-auto-generator: improve log message
We said "exiting", but then the program continues to do other operations and log additional messages.
This commit is contained in:
@@ -690,8 +690,9 @@ static int add_root_mount(void) {
|
||||
|
||||
r = efi_loader_get_device_part_uuid(/* ret_uuid= */ NULL);
|
||||
if (r == -ENOENT) {
|
||||
log_notice("EFI loader partition unknown, exiting.\n"
|
||||
"(The boot loader did not set EFI variable LoaderDevicePartUUID.)");
|
||||
log_notice("EFI loader partition unknown, not processing %s.\n"
|
||||
"(The boot loader did not set EFI variable LoaderDevicePartUUID.)",
|
||||
in_initrd() ? "/sysroot" : "/");
|
||||
return 0;
|
||||
}
|
||||
if (r < 0)
|
||||
|
||||
Reference in New Issue
Block a user