Y
Hacker News
new
|
ask
|
show
|
jobs
by
teo_zero
641 days ago
In the 4th section, is there a reason why set +e is inside the loop while set -e is outside, or is it just an error?
1 comments
kitd
641 days ago
He says in the article. 'Set +e' prevents any error in a fork blitzing the whole script.
link
teo_zero
641 days ago
That's clear, my question is why the +e is inside the loop and thus is set at each iteration, while the -e is outside it and thus is set only once at the end.
link