get.acme.sh
get.acme.sh copied to clipboard
Update installation script to handle errors and exit with the appropriate status code
@Neilpang @richard-vd After the change, the installer is able to exit with the curl's exit code.
$ sh index.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 3 ms: Couldn't connect to server
$ echo $?
7