[capabilities] fix for a newer versions of libcap (#1061)

* [capabilities] fix for a newer versions of libcap

fixes: #993

* Minor correction for files without caps set.

PS: side note, getcap (per sources) does not set non-zero return code,
even for files which are not found (i.e. wrong filename).

* add changelog fragment

* review/suggested changes

* change comment to explicitly state stderr vs output
This commit is contained in:
Anatoly Pugachev 2020-10-16 22:03:54 +03:00 committed by GitHub
commit 07d123a71a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- capabilities - fix for a newer version of libcap release (https://github.com/ansible-collections/community.general/pull/1061).