mirror of
https://github.com/ThunixdotNet/makeuser.git
synced 2026-01-24 13:40:17 +00:00
add parameters to makeuser_no_ansible function call, to use local variables
This commit is contained in:
2
makeuser
2
makeuser
@@ -24,7 +24,7 @@ case $1 in
|
|||||||
*)
|
*)
|
||||||
[[ $# -ne 3 ]] && error_exit "not enough args"
|
[[ $# -ne 3 ]] && error_exit "not enough args"
|
||||||
|
|
||||||
makeuser_no_ansible #adding new user
|
makeuser_no_ansible $1 $2 #adding new user
|
||||||
|
|
||||||
#Thunix specific section
|
#Thunix specific section
|
||||||
currdir=`pwd`
|
currdir=`pwd`
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ case $1 in
|
|||||||
*)
|
*)
|
||||||
[[ $# -ne 3 ]] && error_exit "not enough args"
|
[[ $# -ne 3 ]] && error_exit "not enough args"
|
||||||
|
|
||||||
makeuser_no_ansible #adding new user
|
makeuser_no_ansible $1 $2 #adding new user
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user