diff options
author | 2019-08-30 02:49:35 +0000 | |
---|---|---|
committer | 2019-08-30 02:49:35 +0000 | |
commit | 4bc6328e2b16319527e3163d941734ca97ba9d9d (patch) | |
tree | f5535bd31a6b7b9e5753d10a19cf2d247cd23d9d /lib/libutil/imsg-buffer.c | |
parent | On SAS3 and newer controllers (using the IEEE sgl layout), the chain offset (diff) | |
download | wireguard-openbsd-4bc6328e2b16319527e3163d941734ca97ba9d9d.tar.xz wireguard-openbsd-4bc6328e2b16319527e3163d941734ca97ba9d9d.zip |
locate.updatedb can't update the database unless it is run as root.
It will scan the entire disk before attempting to create the updated
database and then error out.
add a quick check to see if it as running as root and erroring out if
that is not the case.
"Makes sense" deraadt@
Diffstat (limited to 'lib/libutil/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions