diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-27 15:19:39 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-27 15:19:39 +0000 |
commit | 8d0f9599fd889f726d8e8a2cf788fb85818b8888 (patch) | |
tree | 86f233efda419cb68e7c52936aaf855a29634dab /include | |
parent | ef4a78476e49dfd51ff324e05d273504ab2bd492 (diff) |
Provide more accurate lock error message
When started manuall from single-user mode (/ still read-only), the current
error is misleading:
# slaacd -dv
slaacd: already running
The lock was specifically added to prevent multiple instances in the
installer, which discards the error message entirely anyway.
Retain the useful EAGAIN/"already running" message, but otherwise print the
real error reason:
# slaacd -dv
slaacd: /dev/slaacd.lock: Read-only file system
Feedback OK deraadt millert
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions