diff options
Diffstat (limited to 'lib/controlfields')
-rw-r--r-- | lib/controlfields | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/controlfields b/lib/controlfields index aaaf668..12e3c71 100644 --- a/lib/controlfields +++ b/lib/controlfields @@ -88,7 +88,7 @@ oh_get_field() # Parse the control file. _value='' while read -r _line; do - if [ -z ${_value} ]; then + if [ -z "${_value}" ]; then _value=$(echo "${_line}" | sed -n \ "s/^${_field}:[[:space:]]*\(.*\)[[:space:]]*$/\\1/p") else |