aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/func_return2.tests
blob: a049dd180c0c8f32fc32206b976fa8cd34b85785 (plain)
1
2
3
4
5
6
f1() { return 2; }
f1
echo Two:$?
false
true | f1
echo Two:$?