added die function

This commit is contained in:
Myles Horton
2017-05-08 16:13:01 -07:00
parent cdae0bdf2a
commit 0068f6ae40
+5
View File
@@ -1,5 +1,10 @@
#!/bin/bash
function die() {
echo $*
exit 1
}
if [ -z "$BNS_CERT" ]
then
die "$0: Please set BNS_CERT to the bns signing certificate for windows"