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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
cb69c6e843
commit
09af551b93
1 changed files with 2 additions and 0 deletions
|
@ -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 <chromium dir>"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue