[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
parent 72a1e805b4
commit 07d123a71a
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).