chiark / gitweb /
test/capture-log: Fix error handling
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 14 Dec 2022 20:31:42 +0000 (20:31 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 14 Dec 2022 21:52:16 +0000 (21:52 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/capture-log

index 7eb0bab226070fe7b55271521a6a8edb83ae9ceb..4da14f244b9093935aba66b5fb392f7bcdd40bf1 100755 (executable)
@@ -3,6 +3,7 @@
 # SPDX-License-Identifier: GPL-3.0-or-later WITH LicenseRef-Hippotat-OpenSSL-Exception
 # There is NO WARRANTY.
 set -e
+set -o pipefail
 
 log="$1"; shift
 mkdir -p tmp