diff options
author | Luke Bakken <[email protected]> | 2014-12-24 13:28:05 -0800 |
---|---|---|
committer | Luke Bakken <[email protected]> | 2014-12-24 13:28:05 -0800 |
commit | 7ccc695a3e38440f7e428973c986dbe6e50356fb (patch) | |
tree | 46a66d2684efd1dec473676db51fc7adc905fa94 /cover.spec | |
parent | a02632781c903e5a74d9731c89686ea522cc8590 (diff) | |
download | relx-7ccc695a3e38440f7e428973c986dbe6e50356fb.tar.gz relx-7ccc695a3e38440f7e428973c986dbe6e50356fb.tar.bz2 relx-7ccc695a3e38440f7e428973c986dbe6e50356fb.zip |
Explicitly use 'exit 1' to exit
Fixes #286
Using `exit $?` will exit with 0 status even in error conditions. I
believe this is due to the fact that the `if` statement sets `$?`
somehow. This could be a bug in the version of `bash` I'm using (as
`/bin/sh`):
```
$ /bin/sh --version
GNU bash, version 4.3.30(1)-release (x86_64-unknown-linux-gnu)
```
Diffstat (limited to 'cover.spec')
0 files changed, 0 insertions, 0 deletions