But include a sensible error message for wrong usage of .live layers

Instead of just returning 'EXPLODE: command not found', heh
use-lxd-installer
Steve Langasek 1 year ago
parent cdcb44ebf9
commit fc6a8a7b94

@ -114,7 +114,8 @@ _register_pass () {
# we should not let this happen accidentally. # we should not let this happen accidentally.
case "$PASSES $1" in case "$PASSES $1" in
*.live *.live) *.live *.live)
EXPLODE echo "ERROR: only one 'live' layer allowed"
exit 1
;; ;;
*) *)
;; ;;

Loading…
Cancel
Save