diff --git a/src/freedombone-sec b/src/freedombone-sec index d2d39630..a9b19b84 100755 --- a/src/freedombone-sec +++ b/src/freedombone-sec @@ -77,7 +77,7 @@ function passwords_show_apps { # shellcheck disable=SC2068 for a in ${APPS_AVAILABLE[@]} do - if [[ $(function_exists "change_password_${a}") == "1" ]]; then + if grep -q "change_password_" "/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-${a}"; then i=$((i+1)) W+=("$i" "$a") name+=("$a")