Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Pipefail: A missing shell option slowed Cloudflare down. Parent comment
It will still create the file.
Run this in bash, zsh or fish:
false > falsefile
What fixes it in your script is the `&&`. That causes the `dosctr` to only be run if the `dos-make-addr-conf` succeeded.
It will still create the file.
Run this in bash, zsh or fish:
It will create an empty file called "falsefile". This is because the shell opens the file before the program runs.What fixes it in your script is the `&&`. That causes the `dosctr` to only be run if the `dos-make-addr-conf` succeeded.