From d8ffdea39e122821c22bb610e965a2823bbd4480 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 6 Sep 2021 15:58:03 -0400 Subject: [PATCH] build/scripts: Add missing set -e to rm_attrs. --- build/scripts/rm_attrs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/scripts/rm_attrs b/build/scripts/rm_attrs index ea4d99f9a8..ffd05cc819 100755 --- a/build/scripts/rm_attrs +++ b/build/scripts/rm_attrs @@ -1,8 +1,10 @@ #!/bin/sh +set -e + if [ $# -lt 2 ]; then echo "$0: Usage:..." - exit 1; + exit 1 fi rmAttrs=$1