mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-28 00:47:02 -05:00
quotes
This commit is contained in:
parent
c258376b7e
commit
b72eb30056
@ -50,7 +50,7 @@ set_file_perms() {
|
|||||||
if [ "${capability}" = "none" ]; then
|
if [ "${capability}" = "none" ]; then
|
||||||
setcap -r "${file}"
|
setcap -r "${file}"
|
||||||
else
|
else
|
||||||
if ! capsh --print | grep "Bounding set" | grep -q ${capability}; then
|
if ! capsh --print | grep "Bounding set" | grep -q "${capability}"; then
|
||||||
echo "ERROR: Capability '${capability}' does not exist!"
|
echo "ERROR: Capability '${capability}' does not exist!"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user