mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
random-seed: drop extraneous "we"
This commit is contained in:
parent
0f9c8d0291
commit
8fc58b35ea
|
@ -97,7 +97,7 @@ static CreditEntropy may_credit(int seed_fd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Don't credit the random seed if we are in first-boot mode, because we are supposed to start from
|
/* Don't credit the random seed if we are in first-boot mode, because we are supposed to start from
|
||||||
* scratch. This is a safety precaution for cases where we people ship "golden" images with empty
|
* scratch. This is a safety precaution for cases where people ship "golden" images with empty
|
||||||
* /etc but populated /var that contains a random seed. */
|
* /etc but populated /var that contains a random seed. */
|
||||||
r = RET_NERRNO(access("/run/systemd/first-boot", F_OK));
|
r = RET_NERRNO(access("/run/systemd/first-boot", F_OK));
|
||||||
if (r == -ENOENT)
|
if (r == -ENOENT)
|
||||||
|
|
Loading…
Reference in a new issue