summaryrefslogtreecommitdiffstats
path: root/usr/bin
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-05-23 17:52:05 +0200
committermakefu <github@syntax-fehler.de>2013-05-23 17:52:05 +0200
commit09e072c902886a7c961e7e88240921e78e735764 (patch)
treea0f33675b37758853bd8131d22ce2ff7e5ff3cd1 /usr/bin
parentbcbaa2b2855bc3c197b2e9d8d078e2ea880ff733 (diff)
add error handling for easybox_keygen
Diffstat (limited to 'usr/bin')
-rwxr-xr-xusr/bin/easybox_keygen2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/bin/easybox_keygen b/usr/bin/easybox_keygen
index e9a9beca..daedb602 100755
--- a/usr/bin/easybox_keygen
+++ b/usr/bin/easybox_keygen
@@ -5,7 +5,7 @@
# www.wotan.cc
#
-MAC=$1
+MAC=${1?\$1 must be MAC}
# Take the last 2 Bytes of the MAC-Address (0B:EC), and convert it to decimal.