Skip to content

Commit

Permalink
fix permissions bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Aug 13, 2024
1 parent c8f36ff commit f7116ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lgsm/modules/check_permissions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn_check_permissions() {
# Check modules files are executable.
if [ -d "${modulesdir}" ]; then
findnotexecutable="$(find "${modulesdir}" -type f -not -executable)"
findnotexecutablewc="$(echo "${findnotexecutable}" | wc -l)"
findnotexecutablewc="$(find "${modulesdir}" -type f -not -executable | wc -l)"
if [ "${findnotexecutablewc}" -ne "0" ]; then
fn_print_fail_nl "Permissions issues found"
fn_script_log_fail "Permissions issues found"
Expand Down

0 comments on commit f7116ca

Please sign in to comment.