diff --git a/templates/TEMPLATE.sh.tpl b/templates/TEMPLATE.sh.tpl index c18fb86c02ac1a83c34232933730e1b61ea271b2..4df31c29bc173d2a0dab9b4646346eb258eb075b 100644 --- a/templates/TEMPLATE.sh.tpl +++ b/templates/TEMPLATE.sh.tpl @@ -131,7 +131,7 @@ debug=0 quiet=0 # If no arguments were given, just show usage help. -if [[ -z \$1 ]]; then +if [[ -z \${1-} ]]; then usage exit "$SUCCESS" fi