diff --git a/ebook2audiobook.sh b/ebook2audiobook.sh index 72ee0c5f..db08cde0 100755 --- a/ebook2audiobook.sh +++ b/ebook2audiobook.sh @@ -71,7 +71,7 @@ while (( $# > 0 )); do case "$1" in --*) key="${1#--}" - if [[ -n "$2" && "${2}:-" != --* ]]; then + if [[ -n "${2}:-" && "$2" != --* ]]; then arguments[$key]="$2" shift 2 continue