Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel-install: ignore errors when reading /etc/machine-id
If /etc/machine-id doesn't end with a newline (which is wrong, but it can happen), kernel-install fails. That's because `read` returns 1 if it reaches EOF and we're using `set -e`. Let's just ignore that error, as it doesn't matter: we have either read a valid machine ID, in which case we continue, or we haven't, in which case we exit anyway. RHEL-only: feature Resolves: RHEL-50672
- Loading branch information