aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2024-04-16 09:00:41 +0200
committerThomas Weißschuh <thomas@t-8ch.de>2024-04-16 09:27:37 +0200
commit7522d8df797c9ed813b9f75050e25becdcb4a25b (patch)
tree659616337a6e392eda21f4c89217aef55b6261ff
parent5ebf0edb0a0531cba801c7791543c610725bf944 (diff)
downloadutil-linux-7522d8df797c9ed813b9f75050e25becdcb4a25b.tar.gz
all_errnos/all_syscalls: fail if any step fails
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
-rwxr-xr-xtools/all_errnos1
-rwxr-xr-xtools/all_syscalls1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/all_errnos b/tools/all_errnos
index 2cfb14bc3a..828d56f683 100755
--- a/tools/all_errnos
+++ b/tools/all_errnos
@@ -3,6 +3,7 @@
# Derrived from all_syscalls.
set -e
+set -o pipefail
OUTPUT=errnos.h
ERRNO_INCLUDES="
diff --git a/tools/all_syscalls b/tools/all_syscalls
index 9c147786cf..c8a56155b7 100755
--- a/tools/all_syscalls
+++ b/tools/all_syscalls
@@ -1,6 +1,7 @@
#!/bin/bash
set -e
+set -o pipefail
OUTPUT=syscalls.h
SYSCALL_INCLUDES="