mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Fix sleep time option to recognize a numeric argument
This commit is contained in:
parent
6f5ea12ea0
commit
a41d9078ef
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
|||
#======================================================================================================================
|
||||
set -o nounset # Treat unset variables as an error
|
||||
|
||||
__ScriptVersion="2016.03.09"
|
||||
__ScriptVersion="2016.03.10"
|
||||
__ScriptName="bootstrap-salt.sh"
|
||||
|
||||
#======================================================================================================================
|
||||
|
@ -309,7 +309,7 @@ EOT
|
|||
} # ---------- end of function __usage ----------
|
||||
|
||||
|
||||
while getopts ":hvnDc:Gg:k:MSNXCPFUKIA:i:Lp:dH:Zbsf" opt
|
||||
while getopts ":hvnDc:Gg:k:s:MSNXCPFUKIA:i:Lp:dH:Zbf" opt
|
||||
do
|
||||
case "${opt}" in
|
||||
|
||||
|
@ -348,7 +348,7 @@ do
|
|||
fi
|
||||
;;
|
||||
|
||||
s ) _SLEEP="$OPTARG" ;;
|
||||
s ) _SLEEP=$OPTARG ;;
|
||||
M ) _INSTALL_MASTER=$BS_TRUE ;;
|
||||
S ) _INSTALL_SYNDIC=$BS_TRUE ;;
|
||||
N ) _INSTALL_MINION=$BS_FALSE ;;
|
||||
|
|
Loading…
Add table
Reference in a new issue