summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_archives
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-05-02 13:41:01 +0100
committerLyndon Brown <jnqnfe@gmail.com>2020-05-02 13:46:41 +0100
commitda1fab116139150db562eb2c104dea55b7535a33 (patch)
treed10223875315beb26115911072940998e0cc6562 /scripts/build/chroot_archives
parent5f318c5a444ef05bdf79b1f7640294c7423fd10e (diff)
downloadvyos-live-build-da1fab116139150db562eb2c104dea55b7535a33.tar.gz
vyos-live-build-da1fab116139150db562eb2c104dea55b7535a33.zip
output error for incorrect action in chroot prep scripts
...alongside printing usage (which is perhaps unnecessary), so that it is actually clear to users that a problem occurred, and what. and capture it before option processing of remaining args. Gbp-Dch: Ignore
Diffstat (limited to 'scripts/build/chroot_archives')
-rwxr-xr-xscripts/build/chroot_archives1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives
index 7dc7b32fb..c6d4c1b84 100755
--- a/scripts/build/chroot_archives
+++ b/scripts/build/chroot_archives
@@ -441,6 +441,7 @@ case "${_ACTION}" in
;;
*)
+ Echo_error "Invalid action parameter: '${_ACTION}'"
Usage --fail
;;
esac