source:
trunk/src/kash/tests/netbsd/exit1
| Last change on this file was 2279, checked in by , 17 years ago | |
|---|---|
|
|
| File size: 102 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | x=`( trap 'echo exiting' EXIT; /usr/bin/true )` |
| 3 | if [ -z "$x" ] |
| 4 | then |
| 5 | echo failed |
| 6 | exit 1 |
| 7 | fi |
Note:
See TracBrowser
for help on using the repository browser.
