]> git.sesse.net Git - plocate/commit
Increase hard file limit if possible.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Wed, 9 Dec 2020 23:37:41 +0000 (00:37 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Wed, 9 Dec 2020 23:37:41 +0000 (00:37 +0100)
commit654a776cf218202dd10ccfba8f0be46016b1edde
treedb6d8db5031fd5e8e4e0a0b35d72ef144b225294
parenta22ae24d0cba97e00ff22e9f5543b094c32431e3
Increase hard file limit if possible.

Fixes issues where updatedb was run with a too-low open file limit
(both soft and hard), but by root, so we could just raise both limits.

Reported by Gregor Herrmann.
updatedb.cpp