Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2022 18:30:01 GMT
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 41c539bdd10b - main - stop on first error
Message-ID:  <202201241830.20OIU1OW069992@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/src/commit/?id=41c539bdd10bac8717159f33ee4ce810399520be

commit 41c539bdd10bac8717159f33ee4ce810399520be
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2022-01-22 09:57:09 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2022-01-24 18:27:34 +0000

    stop on first error
---
 usr.bin/locate/locate/concatdb.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/usr.bin/locate/locate/concatdb.sh b/usr.bin/locate/locate/concatdb.sh
index ead474362c8a..28eb2d921c16 100644
--- a/usr.bin/locate/locate/concatdb.sh
+++ b/usr.bin/locate/locate/concatdb.sh
@@ -2,7 +2,7 @@
 #
 # SPDX-License-Identifier: BSD-2-Clause-FreeBSD
 #
-# Copyright (c) September 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
+# Copyright (c) September 1995-2022 Wolfram Schneider <wosch@FreeBSD.org>
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -34,6 +34,10 @@
 #
 # $FreeBSD$
 
+# stop on first error
+set -e
+set -o pipefail
+
 # The directory containing locate subprograms
 : ${LIBEXECDIR:=/usr/libexec}; export LIBEXECDIR
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201241830.20OIU1OW069992>