mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-26 23:34:25 +02:00
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
|
fi
|
||||||
;;
|
;;
|
||||||
"Solaris")
|
"Solaris")
|
||||||
if [ -n "${ROOTDIR}usr/bin/svcs" ]; then
|
if [ -x "${ROOTDIR}usr/bin/svcs" ]; then
|
||||||
SERVICE_MANAGER="SMF (svcs)"
|
SERVICE_MANAGER="SMF (svcs)"
|
||||||
elif [ -d "${ROOTDIR}etc/init.d" ]; then
|
elif [ -d "${ROOTDIR}etc/init.d" ]; then
|
||||||
SERVICE_MANAGER="SysV Init"
|
SERVICE_MANAGER="SysV Init"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user