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:
authorMichael Boelen <michael.boelen@cisofy.com>2019-07-18 12:48:00 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-07-18 12:48:00 +0300
commitdcd829076bb6adfde9c25568ae557cd0491e8e45 (patch)
tree8f7469d28a80eb4bbe2ef35f870c055a2ef3f52c /include/parameters
parent4b0f5517f7986c0000d476dcbf732891f057bcd7 (diff)
Move this check to the DiscoverProfiles function
Diffstat (limited to 'include/parameters')
-rw-r--r--include/parameters4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/parameters b/include/parameters
index 98cd2e2d..ede08267 100644
--- a/include/parameters
+++ b/include/parameters
@@ -315,10 +315,6 @@
--profile)
if [ $# -gt 1 ]; then
shift
- if [ ! -r "$1" ]; then
- echo "Fatal error: could not find or read the provided profile ($1)"
- exit 1
- fi
SEARCH_PROFILES="$1"
else
echo "Specify the profile (lynis audit system --profile /home/michael/myprofile.prf)"