From 09af551b93628dbc644cbc2f5bd12c8073c4b668 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 4 Jan 2024 17:15:42 +0200 Subject: utils: update-mojo.sh: Exit immediately on error If an error occurs there's no point in ignoring it silently and continuing. Exit immediately. Signed-off-by: Laurent Pinchart Reviewed-by: Milan Zamazal Reviewed-by: Kieran Bingham Signed-off-by: Kieran Bingham --- utils/update-mojo.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils') diff --git a/utils/update-mojo.sh b/utils/update-mojo.sh index 967d139a..831f5ab8 100755 --- a/utils/update-mojo.sh +++ b/utils/update-mojo.sh @@ -3,6 +3,8 @@ # SPDX-License-Identifier: GPL-2.0-or-later # Update mojo copy from a chromium source tree +set -e + if [ $# != 1 ] ; then echo "Usage: $0 " exit 1 -- cgit v1.2.1