diff options
author | kmos <kmos@cvs.openbsd.org> | 2019-08-30 02:49:36 +0000 |
---|---|---|
committer | kmos <kmos@cvs.openbsd.org> | 2019-08-30 02:49:36 +0000 |
commit | 7d7a9d369acaf4f088e8ee491649984c8995ace8 (patch) | |
tree | d1c801cb83c9a2cb12732871012fa94376a626dd /sbin/isakmpd | |
parent | 52badb0be0f7d393b23f124c67b158098051a431 (diff) |
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 'sbin/isakmpd')
0 files changed, 0 insertions, 0 deletions