diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-18 12:48:00 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-07-18 12:48:00 +0300 |
commit | dcd829076bb6adfde9c25568ae557cd0491e8e45 (patch) | |
tree | 8f7469d28a80eb4bbe2ef35f870c055a2ef3f52c /include/parameters | |
parent | 4b0f5517f7986c0000d476dcbf732891f057bcd7 (diff) |
Move this check to the DiscoverProfiles function
Diffstat (limited to 'include/parameters')
-rw-r--r-- | include/parameters | 4 |
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)" |