Merge pull request #43 from cdow/die

Replaced last usage of missing 'die' function.
This commit is contained in:
Josh Suereth 2013-04-29 10:05:46 -07:00
commit f8e4ef438b
1 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,8 @@ require_arg () {
local opt="$2"
local arg="$3"
if [[ -z "$arg" ]] || [[ "${arg:0:1}" == "-" ]]; then
die "$opt requires <$type> argument"
echo "$opt requires <$type> argument"
exit 1
fi
}