From 058db44db026c7a18d73faac74e8e2a812dd93b5 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Sat, 15 Sep 2018 12:50:45 -0700 Subject: [PATCH] A filename bug fix --- dlaudio.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlaudio.sh b/dlaudio.sh index d5b001c..bf5700c 100755 --- a/dlaudio.sh +++ b/dlaudio.sh @@ -155,6 +155,8 @@ elif [[ "${batchfile}" && -z "${filename}" ]]; then elif [[ "${batchfile}" && "${filename}" ]]; then printf '%s\n' "Cannot pass '--batch-dl' and '--filename' together, ignoring" opts+=("${default_filename}") +else + opts+=("${default_filename}") fi if [[ "${batchfile}" ]]; then