Re:Asciinema
by vezzy-fnord on Sunday June 21, 2015 @03:31PM
(#9754637)
I think the bigger danger is that since you're instructing a direct pipe-to-sh over the network without regard to exit status, you're running the risk of executing truncated code that could trash your system state.
[ Parent
| on HN ]
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.