mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 07:53:01 +02:00
strip: Silence any warnings for files without capabilities
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -29,7 +29,7 @@ function _strip() {
|
||||
|
||||
# Fetch any capabilities
|
||||
local capabilities="$(getfattr --no-dereference --name="security.capability" \
|
||||
--absolute-names --dump "${file}")"
|
||||
--absolute-names --dump "${file}" 2>/dev/null)"
|
||||
|
||||
local cmd=( "${strip}" )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user