bless-boot: Actually return successfully
$ journalctl -u systemd-bless-boot.service systemd[1]: Starting Mark the Current Boot Loader Entry as Good... systemd-bless-boot[536]: Marked boot as 'good'. (Boot attempt counter is at 2.) systemd-bless-boot[536]: Can't find boot counter source file for '/loader/entries/arch.conf': Device or resource busy systemd[1]: Finished Mark the Current Boot Loader Entry as Good.
This commit is contained in:
@@ -483,6 +483,7 @@ static int verb_set(int argc, char *argv[], void *userdata) {
|
||||
log_debug_errno(errno, "Failed to synchronize $BOOT partition, ignoring: %m");
|
||||
|
||||
log_info("Marked boot as '%s'. (Boot attempt counter is at %" PRIu64".)", argv[0], done);
|
||||
return 0;
|
||||
}
|
||||
|
||||
log_error_errno(SYNTHETIC_ERRNO(EBUSY), "Can't find boot counter source file for '%s': %m", target);
|
||||
|
||||
Reference in New Issue
Block a user