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:
authormboelen <michael@cisofy.com>2016-04-20 13:08:10 +0300
committermboelen <michael@cisofy.com>2016-04-20 13:08:10 +0300
commit5757837e28d5c7484b5dfa571354d75885cbe765 (patch)
treed00f0e289966d99bac185978b35f5831d8e33b43 /include/tests_ssh
parenta6393bd8a04a17fdbfaed961db0052390a54db4f (diff)
Show skipped items when running in verbose mode
Diffstat (limited to 'include/tests_ssh')
-rw-r--r--include/tests_ssh5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/tests_ssh b/include/tests_ssh
index 45957f44..fcd1bfc7 100644
--- a/include/tests_ssh
+++ b/include/tests_ssh
@@ -225,9 +225,8 @@
LogText "Result: Option ${OPTIONNAME} not found in output"
Display --indent 4 --text "- SSH option: ${OPTIONNAME}" --result "NOT FOUND" --color WHITE
fi
- else
- LogText "Skipping atomic test ${OPTIONNAME}"
- Display --indent 4 --text "- SSH optoin: ${OPTIONNAME}" --result SKIPPED --color WHITE
+ else
+ if IsVerbose; then Display --indent 4 --text "- SSH option: ${OPTIONNAME}" --result "SKIPPED (via config)" --color WHITE; fi
fi
done
fi