From 6b8b40eb7a679dfb4e11509be718b8aad6089ddc Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 11 Oct 2016 21:44:40 -0400 Subject: [PATCH] Fix for Issue #116 (#117) --- plexupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index cb1db45..5027f5f 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -157,7 +157,7 @@ trimQuotes() { } HASCFG="${@: -1}" -if [ ! -z "${HASCFG}" -a ! "${HASCFG:0:1}" = "-" ]; then +if [ ! -z "${HASCFG}" -a ! "${HASCFG:0:1}" = "-" -a ! "${@:(-2):1}" = "--config" ]; then if [ -f "${HASCFG}" ]; then echo "WARNING: Specifying config file as last argument is deprecated. Use --config instead." CONFIGFILE=${HASCFG}