Approach with running command in a background suggested by @skozin won't work in bash. bash still disables set -e for background commands. dash and ash work fine though.
griga13
- 1