Skip to content

Commit

Permalink
Fix unbound variable (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultserti authored May 28, 2021
1 parent 2950525 commit f4328de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/hardening/1.1.21_sticky_bit_world_writable_folder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ HARDENING_LEVEL=2
# shellcheck disable=2034
DESCRIPTION="Set sticky bit on world writable directories to prevent users from deleting or renaming files that are not owned by them."

EXCEPTIONS=''

# This function will be called if the script status is on enabled / audit mode
audit() {
info "Checking if setuid is set on world writable Directories"
Expand Down
2 changes: 2 additions & 0 deletions bin/hardening/6.1.10_find_world_writable_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ HARDENING_LEVEL=3
# shellcheck disable=2034
DESCRIPTION="Ensure no world writable files exist"

EXCEPTIONS=''

# This function will be called if the script status is on enabled / audit mode
audit() {
info "Checking if there are world writable files"
Expand Down

0 comments on commit f4328de

Please sign in to comment.