]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
all_errnos/all_syscalls: fail if any step fails
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 16 Apr 2024 07:00:41 +0000 (09:00 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 16 Apr 2024 07:27:37 +0000 (09:27 +0200)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tools/all_errnos
tools/all_syscalls

index 2cfb14bc3a6592c77c3b8ca19f075a4f0dd7f336..828d56f683d5ca632bb8f383b618104b26689393 100755 (executable)
@@ -3,6 +3,7 @@
 # Derrived from all_syscalls.
 
 set -e
+set -o pipefail
 
 OUTPUT=errnos.h
 ERRNO_INCLUDES="
index 9c147786cfee360a0eeb0b1c97fb1d21c24e68e8..c8a56155b7f647105bd9ebd573302b3f479a6dde 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/bash
 
 set -e
+set -o pipefail
 
 OUTPUT=syscalls.h
 SYSCALL_INCLUDES="