]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
checksyscalls: fail on all intermediate errors
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 4 Apr 2026 12:23:10 +0000 (14:23 +0200)
committerNicolas Schier <nsc@kernel.org>
Sun, 5 Apr 2026 07:21:30 +0000 (09:21 +0200)
Make sure that a failure of any intermediate step also fails the
overall execution.

Link: https://sashiko.dev/#/patchset/20260402-kbuild-missing-syscalls-v3-0-6641be1de2db%40weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20260404-checksyscalls-set-e-v1-1-206400e78668@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>
scripts/checksyscalls.sh

index 9becaf8d7b78541779f9ea6c053fd433d1c225c1..b2ab3b1d76b849d48756b956791136130bad544a 100755 (executable)
@@ -10,6 +10,8 @@
 # checksyscalls.sh gcc gcc-options
 #
 
+set -e
+
 reference_table="$(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl"
 
 ignore_list() {