Skip to content

Commit f7116ca

Browse files
committed
fix permissions bug
1 parent c8f36ff commit f7116ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lgsm/modules/check_permissions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fn_check_permissions() {
6161
# Check modules files are executable.
6262
if [ -d "${modulesdir}" ]; then
6363
findnotexecutable="$(find "${modulesdir}" -type f -not -executable)"
64-
findnotexecutablewc="$(echo "${findnotexecutable}" | wc -l)"
64+
findnotexecutablewc="$(find "${modulesdir}" -type f -not -executable | wc -l)"
6565
if [ "${findnotexecutablewc}" -ne "0" ]; then
6666
fn_print_fail_nl "Permissions issues found"
6767
fn_script_log_fail "Permissions issues found"

0 commit comments

Comments
 (0)