mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
tmpfiles: Consider ENOPKG as information not available
We already handle the case where /etc/machine-id is empty. Let's make sure we also handle the case where /etc/machine-id is "uninitialized".
This commit is contained in:
@@ -237,6 +237,7 @@ static inline bool ERRNO_IS_NOINFO(int r) {
|
||||
return IN_SET(abs(r),
|
||||
EUNATCH, /* os-release or machine-id missing */
|
||||
ENOMEDIUM, /* machine-id or another file empty */
|
||||
ENOPKG, /* machine-id is uninitialized */
|
||||
ENXIO); /* env var is unset */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user