mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-07 03:26:50 +08:00
fix permissions bug
This commit is contained in:
parent
c8f36ff2af
commit
f7116ca97f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user