mirror of
https://github.com/systemd/systemd.git
synced 2025-01-03 05:18:09 +03: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:
parent
4cd85fd4fc
commit
9c56d93cef
@ -680,8 +680,9 @@ static int add_root_mount(void) {
|
||||
|
||||
r = efi_loader_get_device_part_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;
|
||||
} else if (r < 0)
|
||||
return log_error_errno(r, "Failed to read loader partition UUID: %m");
|
||||
|
Loading…
Reference in New Issue
Block a user