Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat test.sh
- #!/bin/bash
- set -e
- VAR="aa"
- echo ${VAR} ${VAR2+x}
- ./test.sh; echo $?
- 0
- cat test2.sh
- #!/bin/bash
- set -e
- VAR="aa"
- echo ${VAR} ${VAR2}
- ./test2.sh; echo $?
- 130
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement