mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
utils/new_module: Ensure correct number of parameters for new_module
When testing the number parameters for new_module, the `github_user` was not being taken into account.
This commit is contained in:
committed by
Thomas Woerner
parent
209c6365ea
commit
35ded3bf53
@@ -63,7 +63,7 @@ for (( i=0; i<OPTIND-1; i++)); do
|
||||
shift
|
||||
done
|
||||
|
||||
if [ ${#@} -ne 3 ]; then
|
||||
if [ ${#@} -ne 4 ]; then
|
||||
usage;
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user