]> git.sesse.net Git - plocate/commit
Return 1 if no matches were found
authorClément Pit-Claudel <clement.pitclaudel@live.com>
Sun, 6 Nov 2022 20:09:53 +0000 (12:09 -0800)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Mon, 7 Nov 2022 10:30:36 +0000 (11:30 +0100)
commit31641da5750ed2b80697e605bf5b50c0a92264af
treed79fd625280bbe9bb451e3734a2870b7a8c99ee0
parent6c2976c34eed3ae8514f459365e39408d59713a3
Return 1 if no matches were found

* plocate.1: Document this new behavior.
* plocate.cpp (do_search_file, main): Exit with code 1 if no matches were found.

This behavior is consistent with that of mlocate except with --limit=0, which
plocate rejects.
plocate.1
plocate.cpp