Make sure that a failure of any intermediate step also fails the overall execution.
Unified · Split
| @@ -10,6 +10,8 @@ · 9 unmodified lines | |||
| 10 | # checksyscalls.sh gcc gcc-options | 10 | # checksyscalls.sh gcc gcc-options |
| 11 | # | 11 | # |
| 12 | 12 | ||
| 13 | set -e | ||
| 14 | |||
| 13 | reference_table="$(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl" | 15 | reference_table="$(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl" |
| 14 | 16 | ||
| 15 | ignore_list() { | 17 | ignore_list() { |