mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +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
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ ${#@} -ne 3 ]; then
|
if [ ${#@} -ne 4 ]; then
|
||||||
usage;
|
usage;
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user