summaryrefslogtreecommitdiffstats
path: root/tests/lastpipe1.sub
blob: 43711e37e2780322993c30af002be172316257f6 (plain)
1
2
3
4
5
# with lastpipe set, exit at the end of a pipeline exits
# the calling shell
shopt -s lastpipe
exit 142 | exit 14
echo after: $?