mirror of https://github.com/CISOfy/lynis.git
Merge pull request #1569 from nser77/nser77-patch-2
Fix for issue #1566.
This commit is contained in:
commit
e9fc2794eb
|
@ -146,7 +146,7 @@
|
|||
fi
|
||||
;;
|
||||
"Solaris")
|
||||
if [ -n "${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"
|
||||
|
|
Loading…
Reference in New Issue