mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 01:11:31 +00:00
But include a sensible error message for wrong usage of .live layers
Instead of just returning 'EXPLODE: command not found', heh
This commit is contained in:
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…
x
Reference in New Issue
Block a user