1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-10 15:20:58 +00:00

Handle blank arguments string when assigning to $_RAW_OPTIONS.

When `$*` is specified with quotes and braces as `"${*}"`, a blank
argument array results in an error in older versions of bash. Remove
the braces to avoid this error.
This commit is contained in:
William Melody 2016-03-24 17:30:30 -07:00
parent 187222614a
commit 149a51662e

2
hosts
View File

@ -128,7 +128,7 @@ die() {
############################################################################### ###############################################################################
# Get raw options for any commands that expect them. # Get raw options for any commands that expect them.
_RAW_OPTIONS="${*}" _RAW_OPTIONS="${*:-}"
# Steps: # Steps:
# #