CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2019/08/29 20:49:35

Modified files:
        usr.bin/locate/locate: updatedb.sh 

Log message:
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@

Reply via email to