squash! salt: bootstrap-salt.sh: use -s with curl

Also use --show-error, and long option for --silent.
This commit is contained in:
Daniel Hahler 2018-02-02 00:39:32 +01:00
parent 6f7c383fe8
commit ec99b75c53
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
if [ -x /usr/bin/fetch ]; then
/usr/bin/fetch -o bootstrap-salt.sh https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
elif [ -x /usr/bin/curl ]; then
/usr/bin/curl -s -L -O https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
/usr/bin/curl --silent --show-error -L -O https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
elif [ -x /usr/bin/wget ]; then
/usr/bin/wget -O bootstrap-salt.sh https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
else