From fc6a8a7b94742bb84237e3e67997c36027d4b1ec Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Wed, 3 Jan 2024 23:03:56 -0800 Subject: [PATCH] But include a sensible error message for wrong usage of .live layers Instead of just returning 'EXPLODE: command not found', heh --- live-build/auto/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/live-build/auto/config b/live-build/auto/config index 0034f834..5ab86ae1 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -114,7 +114,8 @@ _register_pass () { # we should not let this happen accidentally. case "$PASSES $1" in *.live *.live) - EXPLODE + echo "ERROR: only one 'live' layer allowed" + exit 1 ;; *) ;;