mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-06 13:23:14 +00:00
Merge pull request #464 from t-woerner/new_module_fix_covsvan_findings
utils/new_module: Fix covscan findings
This commit is contained in:
@@ -73,7 +73,7 @@ author=$2
|
||||
email=$3
|
||||
year=$(date +"%Y")
|
||||
|
||||
if [ -z "$name" -o -z "$author" -o -z "$email" ]; then
|
||||
if [ -z "$name" ] || [ -z "$author" ] || [ -z "$email" ]; then
|
||||
[ -z "$name" ] && echo "ERROR: name is not valid"
|
||||
[ -z "$author" ] && echo "ERROR: author is not valid"
|
||||
[ -z "$email" ] && echo "ERROR: email is not valid"
|
||||
|
||||
Reference in New Issue
Block a user