summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_lede.sh
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-08-02 17:07:57 +0200
committerHolger Levsen <holger@layer-acht.org>2016-08-02 17:18:31 +0200
commitac3141cadeb4a0083b5dd05e4bbd915e6875a054 (patch)
treec66fa0f7ce711b36755014f47285dca327903010 /bin/reproducible_lede.sh
parent011bef2cb827cea35dc851c8da7740b8167571a3 (diff)
downloadjenkins.debian.net-ac3141cadeb4a0083b5dd05e4bbd915e6875a054.tar.xz
reproducible/openwrt|lede: exit with error when called with unsupported mode
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_lede.sh')
-rwxr-xr-xbin/reproducible_lede.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 83bc7ed6..5c94dd29 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -37,6 +37,10 @@ case $1 in
master)
# master code following
;;
+ *)
+ echo "Unsupported mode $1. Arguments are $@"
+ exit 1
+ ;;
esac
#