Skip to content

Commit

Permalink
Update tests_boot_services
Browse files Browse the repository at this point in the history
As it is not a directory, we need to test if it is a file with executable bit set.
  • Loading branch information
mboelen authored Jan 29, 2025
1 parent 6307693 commit aba1d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tests_boot_services
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit aba1d53

Please sign in to comment.