mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-15 18:29:44 +07:00
quotes
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user