summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-11-27 15:19:39 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-11-27 15:19:39 +0000
commit8d0f9599fd889f726d8e8a2cf788fb85818b8888 (patch)
tree86f233efda419cb68e7c52936aaf855a29634dab /sbin/dhclient/dhclient.c
parentef4a78476e49dfd51ff324e05d273504ab2bd492 (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 'sbin/dhclient/dhclient.c')
0 files changed, 0 insertions, 0 deletions