diff options
-rwxr-xr-x | functions/init.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/init.sh b/functions/init.sh index 1fbbd9308..cc70e91fa 100755 --- a/functions/init.sh +++ b/functions/init.sh @@ -79,5 +79,7 @@ Maybe_auto_redirect () Echo_message "Executing ${AUTO_SCRIPT} script." ./"${AUTO_SCRIPT}" "${@}" exit ${?} + elif [ -f "${AUTO_SCRIPT}" ]; then + Echo_warning "The ${AUTO_SCRIPT} script exists but is not executable, ignoring." fi } |