From 4eb4cafea073a552e04090f6543115bdecf28432 Mon Sep 17 00:00:00 2001 From: Bill Nguyen Date: Thu, 5 Dec 2024 10:44:02 +1100 Subject: [PATCH] packrootfs: add "set -e" Signed-off-by: Bill Nguyen --- tools/packrootfs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/packrootfs b/tools/packrootfs index c856a4dc..9836e647 100755 --- a/tools/packrootfs +++ b/tools/packrootfs @@ -1,5 +1,7 @@ #!/bin/bash +set -e + # Copyright 2024, UNSW # # SPDX-License-Identifier: BSD-2-Clause @@ -11,7 +13,7 @@ fi which cpio >/dev/null if [ "$?" != 0 ]; then - echo "packrootfs: Please install CPIO" + echo "packrootfs: Please install cpio utility." exit 1 fi