mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-07 16:32:41 -04:00
Add some local variable declarations
This commit is contained in:
parent
a97620a2e4
commit
ed767e00b0
1 changed files with 3 additions and 1 deletions
|
@ -749,6 +749,7 @@ print_state() {
|
||||||
}
|
}
|
||||||
|
|
||||||
print_raw_policy_config() {
|
print_raw_policy_config() {
|
||||||
|
local config_file
|
||||||
for config_file in \
|
for config_file in \
|
||||||
/usr/lib/permission-hardener.d/*.conf \
|
/usr/lib/permission-hardener.d/*.conf \
|
||||||
/etc/permission-hardener.d/*.conf \
|
/etc/permission-hardener.d/*.conf \
|
||||||
|
@ -776,7 +777,8 @@ print_raw_state() {
|
||||||
}
|
}
|
||||||
|
|
||||||
print_fs_audit() {
|
print_fs_audit() {
|
||||||
local state_idx
|
local state_idx state_file_item state_user_owner_item state_group_owner_item \
|
||||||
|
state_mode_item
|
||||||
|
|
||||||
echo 'Legend:'
|
echo 'Legend:'
|
||||||
echo '... - Warning about an unusual, but not necessarily wrong, condition'
|
echo '... - Warning about an unusual, but not necessarily wrong, condition'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue