From b72eb30056e186ce13b03907fc37e8d5ebb5df44 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Mon, 9 Dec 2019 02:32:05 -0500 Subject: [PATCH] quotes --- usr/lib/security-misc/permission-hardening | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/security-misc/permission-hardening b/usr/lib/security-misc/permission-hardening index 7fe0bf6..131019f 100755 --- a/usr/lib/security-misc/permission-hardening +++ b/usr/lib/security-misc/permission-hardening @@ -50,7 +50,7 @@ set_file_perms() { if [ "${capability}" = "none" ]; then setcap -r "${file}" 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!" continue fi