diff --git a/usr/libexec/security-misc/hide-hardware-info b/usr/libexec/security-misc/hide-hardware-info index 4d1c8ca..30c2db8 100755 --- a/usr/libexec/security-misc/hide-hardware-info +++ b/usr/libexec/security-misc/hide-hardware-info @@ -93,9 +93,9 @@ if [ -d /sys/fs/selinux ]; then for i in /sys/* /sys/fs/* do if [ "${sysfs_whitelist}" = "1" ]; then - chmod o-rwx "${i}" + chmod o-rwx "${i}" || continue else - chmod og-rwx "${i}" + chmod og-rwx "${i}" || continue fi done chmod o+rx /sys /sys/fs /sys/fs/selinux