Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions')
-rw-r--r--include/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions b/include/functions
index 544fb52c..49e03eaa 100644
--- a/include/functions
+++ b/include/functions
@@ -1254,7 +1254,7 @@
# facter
if [ "${SHORT}" = "" ]; then
- if [ -x /usr/bin/facter ]; then
+ if [ -x /usr/bin/facter ] || [ -x /usr/local/bin/facter ]; then
case "`facter is_virtual`" in
"true")
SHORT=`facter virtual`