Update tests_boot_services

As it is not a directory, we need to test if it is a file with executable bit set.
This commit is contained in:
Michael Boelen 2025-01-29 14:22:59 +01:00 committed by GitHub
parent 630769377a
commit aba1d530d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@
fi
;;
"Solaris")
if [ -d "${ROOTDIR}usr/bin/svcs" ]; then
if [ -x "${ROOTDIR}usr/bin/svcs" ]; then
SERVICE_MANAGER="SMF (svcs)"
elif [ -d "${ROOTDIR}etc/init.d" ]; then
SERVICE_MANAGER="SysV Init"