diff options
Diffstat (limited to 'shell/ash_test/ash-signals')
-rwxr-xr-x | shell/ash_test/ash-signals/return_in_trap1.tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash_test/ash-signals/return_in_trap1.tests b/shell/ash_test/ash-signals/return_in_trap1.tests index f249802..4c0d53b 100755 --- a/shell/ash_test/ash-signals/return_in_trap1.tests +++ b/shell/ash_test/ash-signals/return_in_trap1.tests @@ -11,8 +11,8 @@ a echo d:$? # It's debatable what is the correct value above. -# Does 'return' in trap sees $? == 2 or $? == 3? +# Does 'return' in trap see $? == 2 or $? == 3? # IOW: after (kill..), does shell first wait for its completion # and sets $?, then checks pending signals and runs a trap handler, -# or does it first checks pending signals and runs handler? +# or does it first check pending signals and runs handler? # hush does the former, and prints 3. |