4 ms·
The author addresses this issue by wrapping the script [1] in {} braces: { # Prevent execution if this script was only partially downloaded # installat
by verteu 11y ago
The author addresses this issue by wrapping the script [1] in {} braces:
{ # Prevent execution if this script was only partially downloaded
# installation code here
} # End of wrapping
I'm not sure if this is a bulletproof solution.
[1] https://asciinema.org/install https://asciinema.org/install
- sickill 11y agoThat's correct. In case bash doesn't see closing braces it will error out with "syntax error" and won't execute anything.