From 15f69711bc09364f323565ede4116978f2e50c39 Mon Sep 17 00:00:00 2001 From: Bill Nguyen Date: Thu, 5 Dec 2024 11:11:53 +1100 Subject: [PATCH] packrootfs: put set -e below licence header --- tools/packrootfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/packrootfs b/tools/packrootfs index 9836e647..0d0a8227 100755 --- a/tools/packrootfs +++ b/tools/packrootfs @@ -1,11 +1,11 @@ #!/bin/bash -set -e - # Copyright 2024, UNSW # # SPDX-License-Identifier: BSD-2-Clause +set -e + if [ $# -lt 2 ]; then echo "Usage: $0 [-o output_rootfs] [--startup files...] [--home files...] [--etc files...]" exit 1