mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-30 11:24:50 +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
|
email=$3
|
||||||
year=$(date +"%Y")
|
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 "$name" ] && echo "ERROR: name is not valid"
|
||||||
[ -z "$author" ] && echo "ERROR: author is not valid"
|
[ -z "$author" ] && echo "ERROR: author is not valid"
|
||||||
[ -z "$email" ] && echo "ERROR: email is not valid"
|
[ -z "$email" ] && echo "ERROR: email is not valid"
|
||||||
|
|||||||
Reference in New Issue
Block a user