summaryrefslogtreecommitdiff
path: root/src/hostname/hostnamed.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-13 19:24:11 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-13 20:11:59 +0200
commitb0284aba93e8ccd415da5bbee86d84c12b1b9856 (patch)
tree04e5960d774f1eb83ae8fc434ec19e4f697b0fbf /src/hostname/hostnamed.c
parentb532bdeae9b13fe93a54850f5e7f99c753bda6fa (diff)
sysusers: always treat ENOENT as entry-not-found when doing NSS calls
For most NSS calls it is documented that they return NULL + errno=0 when an entry is not found. However, in reality it appears to be common to return NULL + errno=ENOENT, instead. Handle that correctly, and don't consider ENOENT a systematic error.
Diffstat (limited to 'src/hostname/hostnamed.c')
0 files changed, 0 insertions, 0 deletions